summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-20 18:24:32 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-20 18:24:32 +0200
commit346397d2e0e5add283c1de7287fa25a4d9c32f54 (patch)
treea6b2623f3a84a722a4d0808eafdbfa71fadcf743
parentb7f70c339f05a8f7aa911903ebada6d912442cc5 (diff)
downloadvyos-live-build-346397d2e0e5add283c1de7287fa25a4d9c32f54.tar.gz
vyos-live-build-346397d2e0e5add283c1de7287fa25a4d9c32f54.zip
Adding a comment to the chroot calls in excludes handling of binary_chroot whey the chroot function is not used.
-rwxr-xr-xscripts/build/lb_binary_chroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_chroot b/scripts/build/lb_binary_chroot
index 4f02e509e..f5ac80f86 100755
--- a/scripts/build/lb_binary_chroot
+++ b/scripts/build/lb_binary_chroot
@@ -102,12 +102,14 @@ then
case "${LB_BUILD_WITH_CHROOT}" in
true)
cp config/binary_rootfs/excludes chroot/chroot/excludes
+ # Not using Chroot() here because we want explicitly /bin/bash (for the time being)
chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
rm -f chroot/chroot/excludes
;;
false)
cp config/binary_rootfs/excludes chroot/excludes
+ # Not using Chroot() here because we want explicitly /bin/bash (for the time being)
chroot chroot /usr/bin/env -i xargs --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
rm -f chroot/excludes
;;