summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-08-28 10:50:33 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-08-28 10:50:33 +0000
commit1046ab5f3f01bd2a2a83f68c1a2ccf224235cc58 (patch)
treeac71627c7ede134a4c4e80f217939b0698ea8c90 /sys-boot/grub/files
parentAdd missing qt-opengl dependency (diff)
downloadgentoo-2-1046ab5f3f01bd2a2a83f68c1a2ccf224235cc58.tar.gz
gentoo-2-1046ab5f3f01bd2a2a83f68c1a2ccf224235cc58.tar.bz2
gentoo-2-1046ab5f3f01bd2a2a83f68c1a2ccf224235cc58.zip
Fix hardcoded grub-probe call. Fixes bug #380879. Revision bump so everyone gets the update.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
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
+ ;;