summaryrefslogtreecommitdiff
path: root/functions/architectures.sh
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 /functions/architectures.sh
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 'functions/architectures.sh')
-rwxr-xr-xfunctions/architectures.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/architectures.sh b/functions/architectures.sh
index 747a78aa6..01c7d5b9d 100755
--- a/functions/architectures.sh
+++ b/functions/architectures.sh
@@ -15,7 +15,7 @@ Check_architectures ()
for ARCHITECTURE in ${ARCHITECTURES}
do
- if [ "$(echo ${LB_ARCHITECTURES} | grep ${ARCHITECTURE})" ]
+ if [ "$(echo ${LIVE_IMAGE_ARCHITECTURE} | grep ${ARCHITECTURE})" ]
then
VALID="true"
break
@@ -70,7 +70,7 @@ Check_crossarchitectures ()
;;
esac
- if [ "${LB_ARCHITECTURES}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ]
+ if [ "${LIVE_IMAGE_ARCHITECTURE}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ]
then
if [ ! -e "${LB_BOOTSTRAP_QEMU_STATIC}" ]
@@ -93,7 +93,7 @@ Check_crossarchitectures ()
Check_multiarchitectures ()
{
- if [ "$(echo ${LB_ARCHITECTURES} | wc -w)" -gt "1" ]
+ if [ "$(echo ${LIVE_IMAGE_ARCHITECTURE} | wc -w)" -gt "1" ]
then
# First, only support multiarch on iso
case "${LIVE_IMAGE_TYPE}" in