summaryrefslogtreecommitdiff
path: root/system/grub2/initrd_naming.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-06-30 11:16:49 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:30 -0500
commit7283ec7d0bd7336f56260ba5e0d7d408d37b5f67 (patch)
tree1f82e4342c270e407de5a09e5eedb2864a3c9538 /system/grub2/initrd_naming.patch
parent0cfa1744b880b158c07dbc767514311ea2633c88 (diff)
downloadslackbuilds-7283ec7d0bd7336f56260ba5e0d7d408d37b5f67.tar.gz
system/grub2: Updated for version 2.00.
This commit also adds a patch for initrd.gz autodetection and basic instructions to the README. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/grub2/initrd_naming.patch')
-rw-r--r--system/grub2/initrd_naming.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/grub2/initrd_naming.patch b/system/grub2/initrd_naming.patch
new file mode 100644
index 0000000000..6b62778b07
--- /dev/null
+++ b/system/grub2/initrd_naming.patch
@@ -0,0 +1,13 @@
+diff -Naur grub-2.00.orig/util/grub.d/10_linux.in grub-2.00/util/grub.d/10_linux.in
+--- grub-2.00.orig/util/grub.d/10_linux.in 2012-04-18 23:24:38.000000000 +0200
++++ grub-2.00/util/grub.d/10_linux.in 2012-06-30 07:53:03.765625589 +0200
+@@ -198,7 +198,8 @@
+ "initramfs-genkernel-${version}" \
+ "initramfs-genkernel-${alt_version}" \
+ "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
+- "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
++ "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" \
++ "initrd.gz"; do
+ if test -e "${dirname}/${i}" ; then
+ initrd="$i"
+ break