[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: create /srv/workspace/chroots correctly

Holger Levsen holger at moszumanska.debian.org
Tue Aug 4 14:00:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 87560f33172d3fc28029f553aa9604618cc0da5b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Aug 4 15:59:33 2015 +0200

    reproducible: create /srv/workspace/chroots correctly
---
 update_jdn.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index ef66090..58df8dd 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -42,7 +42,7 @@ done
 
 sudo mkdir -p /srv/workspace
 [ -d /srv/workspace/pbuilder ] || sudo mkdir -p /srv/workspace/pbuilder
-[ -h /chroots ] || ( sudo mkdir /srv/workspace/chroots ; sudo ln -s /srv/workspace/chroots chroots )
+[ -h /chroots ] || sudo ln -s /srv/workspace/chroots /chroots
 
 if [ "$HOSTNAME" = "jenkins" ] ; then
 	if ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then
@@ -59,7 +59,7 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
 fi
 
 # make sure needed directories exists - some directories will not be needed on all hosts...
-for directory in /schroots /srv/reproducible-results /srv/d-i /srv/live-build /var/log/jenkins/ /srv/jenkins /srv/jenkins/pseudo-hosts ; do
+for directory in /schroots /srv/reproducible-results /srv/d-i /srv/live-build /var/log/jenkins/ /srv/jenkins /srv/jenkins/pseudo-hosts /srv/workspace/chroots ; do
 	if [ ! -d $directory ] ; then
 		sudo mkdir $directory
 		sudo chown jenkins.jenkins $directory

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list