summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-15 16:07:05 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:35 +0100
commit1edb371113a8b0a6805ab8ff8dd8be5bd3faf0a9 (patch)
treebb9d2fe567641f15cf233200dd4e2dfda5dc4cc9 /helpers
parent336687882cf35eb81b720771e82ae8d7c4f2dae2 (diff)
downloadvyos-live-build-1edb371113a8b0a6805ab8ff8dd8be5bd3faf0a9.tar.gz
vyos-live-build-1edb371113a8b0a6805ab8ff8dd8be5bd3faf0a9.zip
Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.
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