diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-06 00:33:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-07-06 00:33:33 +0000 |
commit | 1567c5e4d3fb393a5277db39faea4ee0bef16fea (patch) | |
tree | a92e1c07947b3b910fdbcf38c4a6b22137111d52 /sys-boot/grub/files | |
parent | bug #327025 (diff) | |
download | gentoo-2-1567c5e4d3fb393a5277db39faea4ee0bef16fea.tar.gz gentoo-2-1567c5e4d3fb393a5277db39faea4ee0bef16fea.tar.bz2 gentoo-2-1567c5e4d3fb393a5277db39faea4ee0bef16fea.zip |
Fix building with latest upstream revs #324587 by Jeff Kowalczyk.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/grub/files')
-rw-r--r-- | sys-boot/grub/files/grub-1.99-genkernel.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-1.99-genkernel.patch b/sys-boot/grub/files/grub-1.99-genkernel.patch new file mode 100644 index 000000000000..4947f8cec2d5 --- /dev/null +++ b/sys-boot/grub/files/grub-1.99-genkernel.patch @@ -0,0 +1,19 @@ +--- util/grub.d/10_linux.in ++++ util/grub.d/10_linux.in +@@ -102,7 +102,7 @@ + EOF + } + +-list=`for i in /boot/vmlinu[zx]-* /vmlinu[zx]-* ; do ++list=`for i in /boot/kernel-* /boot/vmlinu[zx]-* /vmlinu[zx]-* ; do + if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi + done` + prepare_boot_cache= +@@ -120,6 +120,7 @@ + initrd= + for i in "initrd.img-${version}" "initrd-${version}.img" \ + "initrd-${version}" "initramfs-${version}.img" \ ++ "initramfs-genkernel-${version}" "initramfs-genkernel-${alt_version}" \ + "initrd.img-${alt_version}" "initrd-${alt_version}.img" \ + "initrd-${alt_version}" "initramfs-${alt_version}.img"; do + if test -e "${dirname}/${i}" ; then |