[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#656135: Add findiso boot parametre



El 08/04/12 20:33, intrigeri escribió:
tags 656135 + fixed-upstream
thanks

Daniel Baumann wrote (08 Apr 2012 11:29:28 GMT) :
intrigeri, ack for applying it?

Applied in Git, with a few improvements as follow-up commits.

Thanks adrian15!

Cheers,

While trying to improve fromiso/isofrom option I've just realised that the original grml implementation of findiso checked for: /live/findiso on /proc/mounts while what it was unmounted was: /root/live/findiso .

But according to current fromiso implementation it would seem that you have to check exactly the same directory as the one you're umounting.

I'm not very sure about this reasoning so please take my patch with caution.

adrian15
--
Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/
diff --git a/scripts/live b/scripts/live
index f4f4059..97f548d 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1670,7 +1670,7 @@ mountroot ()
 	then
 		losetup -d /dev/loop0
 
-		if is_mountpoint /live/findiso
+		if is_mountpoint /root/live/findiso
 		then
 			umount /root/live/findiso
 			rmdir --ignore-fail-on-non-empty /root/live/findiso \

Reply to: