From 346397d2e0e5add283c1de7287fa25a4d9c32f54 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 20 Jul 2011 18:24:32 +0200 Subject: Adding a comment to the chroot calls in excludes handling of binary_chroot whey the chroot function is not used. --- scripts/build/lb_binary_chroot | 2 ++ 1 file changed, 2 insertions(+) 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 ;; -- cgit v1.2.3