summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
;;