linamh/sys-boot/egrub/files/grub-1.98-efi_std_dir-1.patch
2010-11-13 06:53:50 +00:00

38 lines
1.2 KiB
Diff

Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2010-11-12
Initial Package Version: 1.98
Origin: me
Upstream Status: gentoo specific
Description: place the grub.efi in the right dir
diff -Naur grub-1.98.orig/util/i386/efi/grub-install.in grub-1.98/util/i386/efi/grub-install.in
--- grub-1.98.orig/util/i386/efi/grub-install.in 2010-11-12 20:47:04.000000000 +0000
+++ grub-1.98/util/i386/efi/grub-install.in 2010-11-12 20:50:47.000000000 +0000
@@ -37,7 +37,7 @@
grub_probe=${sbindir}/`echo grub-probe | sed ${transform}`
grub_editenv=${bindir}/`echo grub-editenv | sed ${transform}`
rootdir=
-grub_prefix=`echo /boot/grub | sed ${transform}`
+grub_prefix=`echo /boot/efi/EFI/grub | sed ${transform}`
modules=
no_floppy=
@@ -63,7 +63,7 @@
--no-floppy do not probe any floppy drive
--recheck probe a device map even if it already exists
-grub-install copies GRUB images into the DIR/boot directory specified by
+grub-install copies GRUB images into the DIR/boot/efi/EFI directory specified by
--root-directory.
Report bugs to <bug-grub@gnu.org>.
@@ -119,7 +119,7 @@
;;
*)
# Use /boot/grub by default.
- bootdir=${rootdir}/boot
+ bootdir=${rootdir}/boot/efi/EFI
;;
esac