summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_yaboot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-13 21:17:45 +0100
committerDaniel Baumann <daniel@debian.org>2009-12-13 21:17:45 +0100
commit0b285d1c45dbe1c0fc21136ccec2e41c214acdc0 (patch)
tree7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /helpers/lh_binary_yaboot
parentea05bbb3cae86270f0f8b1150566b9925e1abb3d (diff)
downloadvyos-live-build-0b285d1c45dbe1c0fc21136ccec2e41c214acdc0.tar.gz
vyos-live-build-0b285d1c45dbe1c0fc21136ccec2e41c214acdc0.zip
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'helpers/lh_binary_yaboot')
-rwxr-xr-xhelpers/lh_binary_yaboot10
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers/lh_binary_yaboot b/helpers/lh_binary_yaboot
index d0e707c48..fdd857d99 100755
--- a/helpers/lh_binary_yaboot
+++ b/helpers/lh_binary_yaboot
@@ -162,7 +162,7 @@ mkdir -p "${DESTDIR_LIVE}"
# Setting boot parameters
case "${LH_ENCRYPTION}" in
- ""|disabled)
+ ""|false)
;;
*)
LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} encryption=${LH_ENCRYPTION}"
@@ -212,7 +212,7 @@ then
exit 1
fi
-if [ "${LH_EXPOSED_ROOT}" != "disabled" ]
+if [ "${LH_EXPOSED_ROOT}" != "false" ]
then
LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} exposedroot"
fi
@@ -248,7 +248,7 @@ fi
LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')"
# Assembling debian-installer configuration
-if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
+if [ "${LH_DEBIAN_INSTALLER}" != "false" ]
then
VMLINUZ_DI="vmlinuz"
INITRD_DI="initrd.gz"
@@ -277,11 +277,11 @@ case "${LH_BINARY_IMAGES}" in
mkdir -p binary/yaboot
case "${LH_CHROOT_BUILD}" in
- enabled)
+ true)
cp chroot/usr/lib/yaboot/yaboot binary/yaboot
;;
- disabled)
+ false)
cp /usr/lib/yaboot/yaboot binary/yaboot
;;
esac