2009-08-23 Colin Watson <cjwatson@ubuntu.com>
* util/grub.d/30_os-prober.in: Disable os-prober if `GRUB_DISABLE_OS_PROBER' was set to true.
This commit is contained in:
parent
71acf5e54b
commit
c8c80635ae
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-08-23 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/grub.d/30_os-prober.in: Disable os-prober if
|
||||
`GRUB_DISABLE_OS_PROBER' was set to true.
|
||||
|
||||
2009-08-23 Robert Millan <rmh.grub@aybabtu.com>
|
||||
|
||||
* partmap/pc.c: Rename to ...
|
||||
|
|
|
@ -22,6 +22,10 @@ libdir=@libdir@
|
|||
|
||||
. ${libdir}/grub/grub-mkconfig_lib
|
||||
|
||||
if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "`which os-prober 2> /dev/null`" -o -z "`which linux-boot-prober 2> /dev/null`" ] ; then
|
||||
# missing os-prober and/or linux-boot-prober
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue