grub2/os-prober_osx.patch
Stephan Kulow fd6959fcc4 Accepting request 112069 from devel:openSUSE:Factory
Fix os-prober fails when OSX partition is present (bnc#747919) (forwarded request 112068 from simontol)

OBS-URL: https://build.opensuse.org/request/show/112069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=32
2012-04-02 09:23:31 +00:00

14 lines
490 B
Diff

Index: grub-1.99/util/grub.d/30_os-prober.in
===================================================================
--- grub-1.99.orig/util/grub.d/30_os-prober.in
+++ grub-1.99/util/grub.d/30_os-prober.in
@@ -168,7 +168,7 @@
done
;;
macosx)
- OSXUUID="`grub-probe --target=fs_uuid --device ${DEVICE} 2> /dev/null`"
+ OSXUUID="`${grub_probe} --target=fs_uuid --device ${DEVICE} 2> /dev/null`"
osx_entry xnu_kernel 32
osx_entry xnu_kernel64 64
;;