summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-25 13:45:36 +0000
committerHolger Levsen <holger@layer-acht.org>2015-10-28 10:02:24 -0600
commit7b743f10f695602662e067d9a7994c5265970073 (patch)
treeae1a9a49010d459516b2529b6ebf9f541551dbdc
parent271f6d8d83f29578358e48f82510f1a8b6ea991b (diff)
downloadjenkins.debian.net-7b743f10f695602662e067d9a7994c5265970073.tar.xz
update_jdn: stop doing symlink dances for the pbuilder build directory, instead make use of the BUILDPLACE conf entry
-rwxr-xr-xupdate_jdn.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index df07c718..ecf500f6 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
#