summaryrefslogtreecommitdiff
path: root/helpers/binary_usb
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/binary_usb')
-rwxr-xr-xhelpers/binary_usb6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/binary_usb b/helpers/binary_usb
index b2a800f..7d84305 100755
--- a/helpers/binary_usb
+++ b/helpers/binary_usb
@@ -141,7 +141,7 @@ case "${LH_BINARY_FILESYSTEM}" in
;;
esac
-case "${LH_CHROOT_BUILD}" in
+case "${LH_BUILD_WITH_CHROOT}" in
true)
Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true
Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
@@ -190,7 +190,7 @@ case "${LH_BINARY_FILESYSTEM}" in
;;
esac
-case "${LH_CHROOT_BUILD}" in
+case "${LH_BUILD_WITH_CHROOT}" in
true)
Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}"
;;
@@ -246,7 +246,7 @@ rmdir chroot/binary.tmp
if [ "${LH_BOOTLOADER}" = "syslinux" ]
then
- case "${LH_CHROOT_BUILD}" in
+ case "${LH_BUILD_WITH_CHROOT}" in
true)
Chroot chroot "syslinux ${FREELO}"
;;