diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-09 10:29:19 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-09 10:29:19 +0200 |
commit | 2d015b1b3565c335e17c105434cc031b316543dc (patch) | |
tree | 97b64652fdd54e4485b3ebb88f1b195f3c0b79b5 | |
parent | 4abff66e5fec1b7a8b765a52fa6cc130b110b4fa (diff) | |
download | jenkins.debian.net-2d015b1b3565c335e17c105434cc031b316543dc.tar.xz |
make /schroots a link to /srv/schroots
-rwxr-xr-x | update_jdn.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index e0838286..6f0e58a7 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -42,7 +42,9 @@ 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 if [ "$HOSTNAME" = "jenkins" ] ; then if ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then |