Bug#656135: Add findiso boot parametre
El 08/04/12 20:33, intrigeri escribiÃ³:
tags 656135 + fixed-upstream
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.
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.
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
@@ -1670,7 +1670,7 @@ mountroot ()
losetup -d /dev/loop0
- if is_mountpoint /live/findiso
+ if is_mountpoint /root/live/findiso
rmdir --ignore-fail-on-non-empty /root/live/findiso \