Dont assume bash when configuring chroot with QEMU.

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.
This commit is contained in:
Hector Oron 2012-06-06 19:31:17 +02:00 committed by Daniel Baumann
parent e94ba20dab
commit 8d9de19390
1 changed files with 1 additions and 1 deletions

View File

@ -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