summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index c5e0ef4a6..53d9e37c0 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -142,7 +142,7 @@ case "${LH_BINARY_FILESYSTEM}" in
esac
case "${LH_CHROOT_BUILD}" in
- enabled)
+ true)
Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true
Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
Chroot chroot "parted -s ${FREELO} set 1 boot on" || true
@@ -154,7 +154,7 @@ case "${LH_CHROOT_BUILD}" in
fi
;;
- disabled)
+ false)
parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true
parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100% || true
parted -s ${FREELO} set 1 boot on || true
@@ -191,11 +191,11 @@ case "${LH_BINARY_FILESYSTEM}" in
esac
case "${LH_CHROOT_BUILD}" in
- enabled)
+ true)
Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}"
;;
- disabled)
+ false)
mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}
;;
esac
@@ -247,11 +247,11 @@ rmdir chroot/binary.tmp
if [ "${LH_BOOTLOADER}" = "syslinux" ]
then
case "${LH_CHROOT_BUILD}" in
- enabled)
+ true)
Chroot chroot "syslinux ${FREELO}"
;;
- disabled)
+ false)
syslinux ${FREELO}
;;
esac