summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:25 +0100
commitcd5110f6b8eb77519d704972276cfd5be6bff055 (patch)
tree3bc1bcdbff4ec3bd5a82ae34d9efed47b157e3e0 /helpers/lh_binary_usb-hdd
parentfdef63e60c2e68226da2fe92d6cc393c1af2b801 (diff)
downloadvyos-live-build-cd5110f6b8eb77519d704972276cfd5be6bff055.tar.gz
vyos-live-build-cd5110f6b8eb77519d704972276cfd5be6bff055.zip
Adding live-helper 1.0~a17-1.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index a41723817..71353dae0 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -108,7 +108,7 @@ lh_losetup $FREELO chroot/binary.img 1
Chroot " mkfs.vfat -F 16 -n DEBIAN_LIVE ${FREELO}"
mkdir -p chroot/binary.tmp
${LH_ROOT_COMMAND} mount ${FREELO} chroot/binary.tmp
-cp -r binary/* chroot/binary.tmp
+cp -rL binary/* chroot/binary.tmp
FIXME()
{
@@ -155,7 +155,7 @@ echo "!!! The above error/warning messages can be ignored !!!"
if [ -n "${MAKEDEV}" ]
then
- rm -f chroot/dev
+ rm -rf chroot/dev
mv chroot/dev.tmp chroot/dev
fi