summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-06-05 23:15:19 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2015-06-05 23:15:19 +0200
commitc8ccfbc1b3f378025d3516003fcb3a5f5870d2c2 (patch)
tree36348ce5d62383251471061dba512ecc921a50c3
parent64a82a486cbd1f75cc735326779e962616e53ccc (diff)
downloadvyos-live-build-c8ccfbc1b3f378025d3516003fcb3a5f5870d2c2.tar.gz
vyos-live-build-c8ccfbc1b3f378025d3516003fcb3a5f5870d2c2.zip
Removing parent-directory too when cleaning up the config tree bind mount in chroot.
-rwxr-xr-xscripts/build/chroot_hooks1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index 26ffdd701..d2022600f 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -116,3 +116,4 @@ fi
# Remove bind mount of build config inside chroot.
umount chroot/live-build/config
rmdir chroot/live-build/config
+rmdir chroot/live-build