summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-04 21:41:50 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-04 21:41:50 +0100
commit15e90ebc5df0346e95137ecc91c31d5d4195d6cf (patch)
tree33193eb7ce875dd6d46fd003ca9aea6f2d1640ef /bin
parente761ae8344a098f46a37789c5b02bba1a424aa24 (diff)
downloadjenkins.debian.net-15e90ebc5df0346e95137ecc91c31d5d4195d6cf.tar.xz
some more TODO. add job-type prefix to chroot-path
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chroot_tester.sh2
-rwxr-xr-xbin/housekeeping.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh
index dae4cacc..ab64c083 100755
--- a/bin/chroot_tester.sh
+++ b/bin/chroot_tester.sh
@@ -32,7 +32,7 @@ export DEBIAN_FRONTEND=noninteractive
export LANG=C
export http_proxy=$http_proxy"
-export CHROOT_TARGET=$(mktemp -d -p /chroots/ $1.XXXXXXXXX)
+export CHROOT_TARGET=$(mktemp -d -p /chroots/ chroot-tests-$1.XXXXXXXXX)
export TMPFILE=$(mktemp -u)
export CTMPFILE=$CHROOT_TARGET/$TMPFILE
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh
index 5236b5dc..eb0ced7e 100755
--- a/bin/housekeeping.sh
+++ b/bin/housekeeping.sh
@@ -15,14 +15,15 @@ echo
vnstat
echo
-HOUSE=$(ls /chroots/)
+CHROOT_PATTERN="/chroots/chroot-tests-*"
+HOUSE=$(ls $CHROOT_PATTERN)
if [ "$HOUSE" != "" ] ; then
figlet "Warning:"
echo
echo "Probably manual cleanup needed:"
echo
echo "$ ls -la /chroots/"
- ls -la /chroots/
+ echo $HOUSE
exit 1
fi