summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 11:16:57 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commit64994422120e4378ab4c67950297eedd0460ebcd (patch)
tree9f465bb754bf921d214b76b543540f6965f96851 /scripts/build/bootstrap_debootstrap
parentf5acab633c5a8425987e472a40a113715891b301 (diff)
downloadvyos-live-build-64994422120e4378ab4c67950297eedd0460ebcd.tar.gz
vyos-live-build-64994422120e4378ab4c67950297eedd0460ebcd.zip
Moving off binary image architecture into new config tree format.
Diffstat (limited to 'scripts/build/bootstrap_debootstrap')
-rwxr-xr-xscripts/build/bootstrap_debootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index 7be24378d..3f4a7afe4 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -61,9 +61,9 @@ Create_lockfile .lock
mkdir -p chroot
# Setting debootstrap options
-if [ -n "${LB_ARCHITECTURES}" ]
+if [ -n "${LIVE_IMAGE_ARCHITECTURE}" ]
then
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LB_ARCHITECTURES}"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LIVE_IMAGE_ARCHITECTURE}"
fi
if [ "${LB_ARCHIVE_AREAS}" != "main" ]
@@ -119,7 +119,7 @@ then
Echo_breakage "Running debootstrap... "
# Run appropriate bootstrap, i.e. foreign or regular bootstrap
- if [ "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" = "${LB_ARCHITECTURES}" ]; then
+ if [ "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" = "${LIVE_IMAGE_ARCHITECTURE}" ]; then
if [ -n "${LB_BOOTSTRAP_QEMU_EXCLUDE}" ]
then