summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-15 16:07:05 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-15 16:07:05 +0100
commit5093b275761e24df04a897057409594c36530d17 (patch)
treebb9d2fe567641f15cf233200dd4e2dfda5dc4cc9 /helpers
parent2b77ec6b5dbdabcc030e99cdaa19f6a861732701 (diff)
downloadvyos-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-xhelpers/lh_binary_debian-installer4
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