rename package to comply with elilo
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2738 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
19
sys-boot/egrub/files/grub-1.96-genkernel.patch
Normal file
19
sys-boot/egrub/files/grub-1.96-genkernel.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- util/grub.d/10_linux.in
|
||||
+++ util/grub.d/10_linux.in
|
||||
@@ -61,7 +61,7 @@
|
||||
EOF
|
||||
}
|
||||
|
||||
-list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
|
||||
+list=`for i in /boot/kernel-* /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
|
||||
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
|
||||
done`
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
initrd=
|
||||
for i in "initrd.img-${version}" "initrd-${version}.img" \
|
||||
"initrd-${version}" "initrd.img-${alt_version}" \
|
||||
+ "initramfs-genkernel-${version}" "initramfs-genkernel-${alt_version}" \
|
||||
"initrd-${alt_version}.img" "initrd-${alt_version}"; do
|
||||
if test -e "${dirname}/${i}" ; then
|
||||
initrd="$i"
|
||||
37
sys-boot/egrub/files/grub-1.98-efi_std_dir-1.patch
Normal file
37
sys-boot/egrub/files/grub-1.98-efi_std_dir-1.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user