diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-15 16:07:05 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-15 16:07:05 +0100 |
commit | 5093b275761e24df04a897057409594c36530d17 (patch) | |
tree | bb9d2fe567641f15cf233200dd4e2dfda5dc4cc9 /helpers | |
parent | 2b77ec6b5dbdabcc030e99cdaa19f6a861732701 (diff) | |
download | vyos-live-build-5093b275761e24df04a897057409594c36530d17.tar.gz vyos-live-build-5093b275761e24df04a897057409594c36530d17.zip |
Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary_debian-installer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 7e9c39a6e..f2e973d14 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -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 |