diff options
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-x | helpers/lh_binary_usb-hdd | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd index db3806d45..115321df7 100755 --- a/helpers/lh_binary_usb-hdd +++ b/helpers/lh_binary_usb-hdd @@ -148,10 +148,10 @@ esac case "${LH_CHROOT_BUILD}" in enabled) - Chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true - Chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true - Chroot "parted -s ${FREELO} set 1 boot on" || true - Chroot "parted -s ${FREELO} set 1 lba off" || 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 + Chroot chroot "parted -s ${FREELO} set 1 lba off" || true if [ "${LH_BOOTLOADER}" = "syslinux" ] then @@ -196,7 +196,7 @@ esac case "${LH_CHROOT_BUILD}" in enabled) - Chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}" + Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}" ;; disabled) @@ -226,7 +226,7 @@ find /live/vmlinuz EOM EOF - rootpartition="$(Chroot 'sh grub.sh' 2>/dev/null | grep -A 1 'find /live/vmlinuz' | grep -v 'find /live/vmlinuz')" + rootpartition="$(Chroot chroot 'sh grub.sh' 2>/dev/null | grep -A 1 'find /live/vmlinuz' | grep -v 'find /live/vmlinuz')" usbdev="$(echo $rootpartition | sed -e 's|,[[:digit:]]||')" echo "Root partition is $rootpartition, device is: $usbdev" @@ -239,7 +239,7 @@ EOF #EOM #EOF -#Chroot "sh grub.sh" +#Chroot chroot "sh grub.sh" rm -f chroot/grub.sh fi @@ -252,7 +252,7 @@ if [ "${LH_BOOTLOADER}" = "syslinux" ] then case "${LH_CHROOT_BUILD}" in enabled) - Chroot "syslinux ${FREELO}" + Chroot chroot "syslinux ${FREELO}" ;; disabled) |