diff options
Diffstat (limited to 'scripts/build/bootstrap_debootstrap')
-rwxr-xr-x | scripts/build/bootstrap_debootstrap | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap index 414678846..263f6783d 100755 --- a/scripts/build/bootstrap_debootstrap +++ b/scripts/build/bootstrap_debootstrap @@ -58,9 +58,9 @@ Create_lockfile .lock mkdir -p chroot # Setting debootstrap options -if [ -n "${LIVE_IMAGE_ARCHITECTURE}" ] +if [ -n "${LB_ARCHITECTURES}" ] then - DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LIVE_IMAGE_ARCHITECTURE}" + DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LB_ARCHITECTURES}" fi if [ "${LIVE_IMAGE_ARCHIVE_AREAS}" != "main" ] @@ -105,7 +105,7 @@ then Echo_breakage "Running debootstrap... " # Run appropriate bootstrap, i.e. foreign or regular bootstrap - if [ "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" = "${LIVE_IMAGE_ARCHITECTURE}" ]; then + if [ "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" = "${LB_ARCHITECTURES}" ]; then if [ -n "${LB_BOOTSTRAP_QEMU_EXCLUDE}" ] then |