diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-07 22:41:09 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-07 22:41:09 +0000 |
commit | f1a49dbf6383678d9672f3c122e1e5415e6c3be0 (patch) | |
tree | 28a536506d725870437bc5ec3c0899dd14bac90a /sys-boot/grub/files/grub-1.96-genkernel.patch | |
parent | the libuser patch (diff) | |
download | anaconda-overlay-f1a49dbf6383678d9672f3c122e1e5415e6c3be0.tar.gz anaconda-overlay-f1a49dbf6383678d9672f3c122e1e5415e6c3be0.tar.bz2 anaconda-overlay-f1a49dbf6383678d9672f3c122e1e5415e6c3be0.zip |
GRUB2 from Sabayon
Diffstat (limited to 'sys-boot/grub/files/grub-1.96-genkernel.patch')
-rw-r--r-- | sys-boot/grub/files/grub-1.96-genkernel.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-1.96-genkernel.patch b/sys-boot/grub/files/grub-1.96-genkernel.patch new file mode 100644 index 0000000..e06f383 --- /dev/null +++ b/sys-boot/grub/files/grub-1.96-genkernel.patch @@ -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" |