From 15e90ebc5df0346e95137ecc91c31d5d4195d6cf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 4 Nov 2012 21:41:50 +0100 Subject: some more TODO. add job-type prefix to chroot-path --- bin/chroot_tester.sh | 2 +- bin/housekeeping.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2