* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Consider a
path unreadable if `grub-probe -t abstraction' fails, for example if memberlist fails on an LVM volume group. Reported by: Darius Jahandarie.
This commit is contained in:
parent
81431e2b02
commit
96e0a6ea97
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2011-01-22 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Consider a
|
||||
path unreadable if `grub-probe -t abstraction' fails, for example if
|
||||
memberlist fails on an LVM volume group.
|
||||
Reported by: Darius Jahandarie.
|
||||
|
||||
2011-01-22 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* docs/grub.texi (Simple configuration): Document
|
||||
|
|
|
@ -61,6 +61,12 @@ is_path_readable_by_grub ()
|
|||
return 1
|
||||
fi
|
||||
|
||||
# ... or if we can't figure out the abstraction module, for example if
|
||||
# memberlist fails on an LVM volume group.
|
||||
if ${grub_probe} -t abstraction $path > /dev/null 2>&1 ; then : ; else
|
||||
return 1
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue