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:
parent
e94ba20dab
commit
8d9de19390
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue