[SCM] debian-live branch, master, updated. 1.0_a47-1-36-gbe0f6ae

Chris Lamb chris at chris-lamb.co.uk
Sun Jun 15 15:31:41 UTC 2008


The following commit has been merged in the master branch:
commit 5093b275761e24df04a897057409594c36530d17
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Sun Jun 15 16:07:05 2008 +0100

    Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 7e9c39a..f2e973d 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

-- 
debian-live



More information about the debian-live-changes mailing list