summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 10:52:13 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-19 11:10:11 +0100
commitec8aff4f494966557c906f953530a8c12a2fa7d5 (patch)
tree1ba0d14a503182449514be729338d4bbf9b675fb /functions
parent73108165caab0ca3b61759fa501b5ae420858775 (diff)
downloadvyos-live-build-ec8aff4f494966557c906f953530a8c12a2fa7d5.tar.gz
vyos-live-build-ec8aff4f494966557c906f953530a8c12a2fa7d5.zip
Moving off binary image type into new config tree format.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/architectures.sh2
-rwxr-xr-xfunctions/defaults.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/functions/architectures.sh b/functions/architectures.sh
index 76eb88e5f..747a78aa6 100755
--- a/functions/architectures.sh
+++ b/functions/architectures.sh
@@ -96,7 +96,7 @@ Check_multiarchitectures ()
if [ "$(echo ${LB_ARCHITECTURES} | wc -w)" -gt "1" ]
then
# First, only support multiarch on iso
- case "${LB_BINARY_IMAGES}" in
+ case "${LIVE_IMAGE_TYPE}" in
iso*)
# Assemble multi-arch
case "${LB_CURRENT_ARCHITECTURE}" in
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 2500ddd59..f8606dd41 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -792,11 +792,11 @@ Set_defaults ()
# Setting image type
case "${LB_ARCHITECTURES}" in
amd64|i386)
- LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso-hybrid}"
+ LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-iso-hybrid}"
;;
*)
- LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso}"
+ LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-iso}"
;;
esac
@@ -901,7 +901,7 @@ Set_defaults ()
if [ -n "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ]
then
- case "${LB_BINARY_IMAGES}" in
+ case "${LIVE_IMAGE_TYPE}" in
iso*)
_LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
;;
@@ -1200,7 +1200,7 @@ Check_defaults ()
esac
fi
- case "${LB_BINARY_IMAGES}" in
+ case "${LIVE_IMAGE_TYPE}" in
hdd*)
# grub or yaboot + hdd
case "${LB_BOOTLOADER}" in