summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/grub/files')
-rw-r--r--sys-boot/grub/files/1.99-call_proper_grub_probe.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-boot/grub/files/1.99-call_proper_grub_probe.patch b/sys-boot/grub/files/1.99-call_proper_grub_probe.patch
new file mode 100644
index 000000000000..6d65b5f85d3b
--- /dev/null
+++ b/sys-boot/grub/files/1.99-call_proper_grub_probe.patch
@@ -0,0 +1,12 @@
+diff -urN grub-1.99/util/grub.d/30_os-prober.in grub-1.99.new/util/grub.d/30_os-prober.in
+--- grub-1.99/util/grub.d/30_os-prober.in 2010-12-25 18:13:57.000000000 +0100
++++ grub-1.99.new/util/grub.d/30_os-prober.in 2011-08-28 12:35:40.965038455 +0200
+@@ -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
+ ;;