summaryrefslogtreecommitdiffstats
path: root/bin/d-i_builds.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-29 16:38:52 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-29 16:38:52 +0100
commit0259bba352e835936fe154e0651af621069727e3 (patch)
treef9f19ca41e2546b5d43a9e06136d66dcb2dc4463 /bin/d-i_builds.sh
parentc22fd2bd3562e75d064b0dac6860838361b44b39 (diff)
downloadjenkins.debian.net-0259bba352e835936fe154e0651af621069727e3.tar.xz
Use rm -rf --one-file-system to delete chroots, thanks to Andreas Beckmann for the idea.
Diffstat (limited to 'bin/d-i_builds.sh')
-rwxr-xr-xbin/d-i_builds.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/d-i_builds.sh b/bin/d-i_builds.sh
index 79938b7f..516f427a 100755
--- a/bin/d-i_builds.sh
+++ b/bin/d-i_builds.sh
@@ -45,7 +45,7 @@ cleanup_all() {
sudo umount -l $CHROOT_TARGET/run/lock || true
sudo umount -l $CHROOT_TARGET/run/shm || true
sudo umount -l $CHROOT_TARGET/run || true
- sudo rm -rf $CHROOT_TARGET
+ sudo rm -rf --one-file-system $CHROOT_TARGET
}
execute_ctmpfile() {