diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-29 16:38:52 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-29 16:38:52 +0100 |
commit | 0259bba352e835936fe154e0651af621069727e3 (patch) | |
tree | f9f19ca41e2546b5d43a9e06136d66dcb2dc4463 /bin/d-i_builds.sh | |
parent | c22fd2bd3562e75d064b0dac6860838361b44b39 (diff) | |
download | jenkins.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-x | bin/d-i_builds.sh | 2 |
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() { |