From c6236a0794c598d82aa470ca7b358bd1d0986aa1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 14 Nov 2007 09:55:50 +0100 Subject: Moving lh_losetup into an internal function, avoiding helper failure with return value due to new trap. --- helpers/lh_source_usb-hdd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_source_usb-hdd') diff --git a/helpers/lh_source_usb-hdd b/helpers/lh_source_usb-hdd index dfbf0227b..a94ac3df4 100755 --- a/helpers/lh_source_usb-hdd +++ b/helpers/lh_source_usb-hdd @@ -84,13 +84,13 @@ then fi echo "!!! The following error/warning messages can be ignored !!!" -lh_losetup $FREELO source.img 0 +Losetup $FREELO source.img 0 Chroot "parted -s ${FREELO} mklabel msdos" || true Chroot "parted -s ${FREELO} mkpartfs primary fat16 0.0 100%" || true Chroot "parted -s ${FREELO} set 1 lba off" || true ${LH_LOSETUP} -d ${FREELO} -lh_losetup $FREELO source.img 1 +Losetup $FREELO source.img 1 Chroot " mkfs.vfat -F 16 -n DEBIAN_LIVE ${FREELO}" mkdir -p source.tmp ${LH_ROOT_COMMAND} mount ${FREELO} source.tmp -- cgit v1.2.3