summaryrefslogtreecommitdiff
path: root/scripts/build/binary_iso
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 10:52:13 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitf5acab633c5a8425987e472a40a113715891b301 (patch)
tree1ba0d14a503182449514be729338d4bbf9b675fb /scripts/build/binary_iso
parentc73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (diff)
downloadvyos-live-build-f5acab633c5a8425987e472a40a113715891b301.tar.gz
vyos-live-build-f5acab633c5a8425987e472a40a113715891b301.zip
Moving off binary image type into new config tree format.
Diffstat (limited to 'scripts/build/binary_iso')
-rwxr-xr-xscripts/build/binary_iso6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso
index 7802f046e..15638b288 100755
--- a/scripts/build/binary_iso
+++ b/scripts/build/binary_iso
@@ -24,7 +24,7 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-case "${LB_BINARY_IMAGES}" in
+case "${LIVE_IMAGE_TYPE}" in
iso)
IMAGE="binary.iso"
;;
@@ -55,7 +55,7 @@ Create_lockfile .lock
# Checking depends
Check_package chroot/usr/bin/xorriso xorriso
-if [ "${LB_BINARY_IMAGES}" = "iso-hybrid" ]
+if [ "${LIVE_IMAGE_TYPE}" = "iso-hybrid" ]
then
Check_package chroot/usr/lib/syslinux/isohdpfx.bin syslinux-common
fi
@@ -76,7 +76,7 @@ fi
XORRISO_OPTIONS="-as mkisofs -r -J -joliet-long -l -cache-inodes"
# Handle xorriso live-build specific options
-if [ "${LB_BINARY_IMAGES}" = "iso-hybrid" ]
+if [ "${LIVE_IMAGE_TYPE}" = "iso-hybrid" ]
then
XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16"
fi