This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit c6d547b73d220092367790ce56434c1bd06e0a7d Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Jun 10 04:54:16 2017 +0200 bin: add new slave-start-chroot.sh script, used to jump into the chroot and kick-off preparation script. --- bin/slave-start-chroot.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/bin/slave-start-chroot.sh b/bin/slave-start-chroot.sh new file mode 100755 index 0000000..c547dfe --- /dev/null +++ b/bin/slave-start-chroot.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +typeset prefix="$(cut -d"-" -f1 <<< "$(basename "${0}")")" + +typeset chroot_dir="" +if [ "x$(basename "${0}")" = "x${prefix}-slave-start-chroot.sh" ]; then + case "${prefix}" in + (x2go) + chroot="source:x2go" + ;; + (*) + echo "Unknown prefix, aborting." >&2 + exit 1 + ;; + esac +else + echo "No prefix provided. Aborting." >&2 + exit 1 +fi + +schroot -c "${chroot}" "bin/${prefix}-slave-start-prepare.sh" -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git