summaryrefslogtreecommitdiff
path: root/scripts/build/binary_hdd
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 07:39:58 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 07:39:58 +0100
commit1f7f6dd88a36403c0bc877ee6c4a58f7acfc2034 (patch)
treeb98ff62505af2e1d3b2e0e394ffb92f81239cfec /scripts/build/binary_hdd
parent7b6dfd9d167b5ef09c6c1812f17e6df302f45897 (diff)
downloadvyos-live-build-1f7f6dd88a36403c0bc877ee6c4a58f7acfc2034.tar.gz
vyos-live-build-1f7f6dd88a36403c0bc877ee6c4a58f7acfc2034.zip
Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE).
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-xscripts/build/binary_hdd6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 1868d9d9b..90cd3e9d0 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -57,7 +57,7 @@ esac
Check_package chroot/usr/share/doc/mtools mtools
Check_package chroot/sbin/parted parted
-if [ "${LIVE_IMAGE_ARCHITECTURE}" = "sparc" ]
+if [ "${LB_ARCHITECTURES}" = "sparc" ]
then
case "${LB_BINARY_FILESYSTEM}" in
ext2|ext3|ext4)
@@ -154,7 +154,7 @@ fi
echo "!!! The following error/warning messages can be ignored !!!"
Losetup $FREELO chroot/binary.img 0
-case "${LIVE_IMAGE_ARCHITECTURE}" in
+case "${LB_ARCHITECTURES}" in
sparc)
PARTITION_TABLE_TYPE="sun"
;;
@@ -333,7 +333,7 @@ then
mv chroot/dev.tmp chroot/dev
fi
-mv chroot/binary.img ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}
+mv chroot/binary.img ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}
# Saving cache
Save_cache cache/packages.binary