diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-12-19 11:16:57 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-12-19 11:16:57 +0100 |
| commit | 9949a3a9125c96ad47234404b15cb4fd3eb4282e (patch) | |
| tree | 9f465bb754bf921d214b76b543540f6965f96851 /scripts/build/bootstrap_debootstrap | |
| parent | ec8aff4f494966557c906f953530a8c12a2fa7d5 (diff) | |
| download | vyos-live-build-9949a3a9125c96ad47234404b15cb4fd3eb4282e.tar.gz vyos-live-build-9949a3a9125c96ad47234404b15cb4fd3eb4282e.zip | |
Moving off binary image architecture into new config tree format.
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 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 |
