diff options
author | Hector Oron <hector.oron@gmail.com> | 2012-06-06 19:31:17 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-06 19:59:15 +0200 |
commit | 8d9de193900842c0c4e01e2c416c808a88aa8f3d (patch) | |
tree | d382775d75c1925025134164a1e7eebdbfed42c8 /scripts/build/lb_bootstrap_debootstrap | |
parent | e94ba20dab22498886a739c13e1b40a11accc7df (diff) | |
download | vyos-live-build-8d9de193900842c0c4e01e2c416c808a88aa8f3d.tar.gz vyos-live-build-8d9de193900842c0c4e01e2c416c808a88aa8f3d.zip |
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.
Diffstat (limited to 'scripts/build/lb_bootstrap_debootstrap')
-rwxr-xr-x | scripts/build/lb_bootstrap_debootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_bootstrap_debootstrap b/scripts/build/lb_bootstrap_debootstrap index 080335d20..f169926cb 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 |