Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.

This commit is contained in:
Chris Lamb 2008-06-15 16:07:05 +01:00 committed by Daniel Baumann
parent 336687882c
commit 1edb371113
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