From: Hector Oron <hector.o...@gmail.com>

  Currently running second stage with QEMU on a chroot without bash fails.
  The following patch teaches chroot to use /bin/sh instead default /bin/bash.

Signed-off-by: Hector Oron <hector.o...@gmail.com>
---
 scripts/build/lb_bootstrap_debootstrap |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build/lb_bootstrap_debootstrap 
b/scripts/build/lb_bootstrap_debootstrap
index 080335d..f169926 100755
--- a/scripts/build/lb_bootstrap_debootstrap
+++ b/scripts/build/lb_bootstrap_debootstrap
@@ -154,7 +154,7 @@ then
 
                Echo_message "Running debootstrap second stage under QEMU"
                cp ${LB_BOOTSTRAP_QEMU_STATIC} chroot/usr/bin
-               Chroot chroot /debootstrap/debootstrap --second-stage
+               Chroot chroot /bin/sh /debootstrap/debootstrap --second-stage
        else
                ${LB_ROOT_COMMAND} debootstrap ${DEBOOTSTRAP_OPTIONS} 
"${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
        fi
-- 
1.7.10


-- 
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fcf8a12.4166b40a.37e2.ffffe...@mx.google.com

Reply via email to