[Qa-jenkins-scm] [jenkins.debian.net] 02/04: update_jdn: stop doing symlink dances for the pbuilder build directory, instead make use of the BUILDPLACE conf entry

Holger Levsen holger at moszumanska.debian.org
Wed Oct 28 16:07:12 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 7b743f10f695602662e067d9a7994c5265970073
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sun Oct 25 13:45:36 2015 +0000

    update_jdn: stop doing symlink dances for the pbuilder build directory, instead make use of the BUILDPLACE conf entry
---
 update_jdn.sh | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index df07c71..ecf500f 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -50,7 +50,6 @@ for user in helmut holger mattia lunar ; do
 done
 
 sudo mkdir -p /srv/workspace
-[ -d /srv/workspace/pbuilder ] || sudo mkdir -p /srv/workspace/pbuilder
 [ -d /srv/schroots ] || sudo mkdir -p /srv/schroots
 [ -h /chroots ] || sudo ln -s /srv/workspace/chroots /chroots
 [ -h /schroots ] || sudo ln -s /srv/schroots /schroots
@@ -103,15 +102,6 @@ fi
 
 # only on Debian systems
 if [ -f /etc/debian_version ] ; then
-	if [ ! -h /var/cache/pbuilder/build ] ; then
-		sudo rmdir /var/cache/pbuilder/build || sudo rm -f /var/cache/pbuilder/build
-		if [ -e /var/cache/pbuilder/build ] ; then
-			explain "/var/cache/pbuilder/build could not be cleared."
-		else
-			sudo ln -s /srv/workspace/pbuilder /var/cache/pbuilder/build
-		fi
-	fi
-
 	#
 	# install packages we need
 	#

-- 
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