Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-06-15 16:07:05 +01:00
parent 2b77ec6b5d
commit 5093b27576
1 changed files with 2 additions and 2 deletions

View File

@ -285,12 +285,12 @@ then
fi
mkdir mini.tmp
mount -o loop -t iso9660 mini.iso mini.tmp
${LH_ROOT_COMMAND} mount -o loop -t iso9660 mini.iso mini.tmp
cp mini.tmp/boot/vmlinuz-${DEFAULT_FLAVOUR} "${DESTDIR}"/"${VMLINUZ_DI}"
cp mini.tmp/boot/initrd.gz "${DESTDIR}"/"${INITRD_DI}"
umount mini.tmp
${LH_ROOT_COMMAND} umount mini.tmp
rm -rf mini.tmp mini.iso
else
# Downloading debian-installer