summaryrefslogtreecommitdiff
path: root/libre-testing/grub/parabola-mkconfig.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-06-28 21:32:10 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-06-28 21:32:10 -0300
commit64cf361dd1f757ccc31ced3482efe88c7aaaccc5 (patch)
tree114be9a3cebf18c3be30b171ec76fd6405c359f6 /libre-testing/grub/parabola-mkconfig.patch
parent674fdec643af42d0a690b5296da455b60253ea05 (diff)
downloadabslibre-64cf361dd1f757ccc31ced3482efe88c7aaaccc5.tar.gz
abslibre-64cf361dd1f757ccc31ced3482efe88c7aaaccc5.tar.bz2
abslibre-64cf361dd1f757ccc31ced3482efe88c7aaaccc5.zip
grub-2.00-1: new package
Diffstat (limited to 'libre-testing/grub/parabola-mkconfig.patch')
-rw-r--r--libre-testing/grub/parabola-mkconfig.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/libre-testing/grub/parabola-mkconfig.patch b/libre-testing/grub/parabola-mkconfig.patch
new file mode 100644
index 000000000..7c18a4cc2
--- /dev/null
+++ b/libre-testing/grub/parabola-mkconfig.patch
@@ -0,0 +1,32 @@
+diff -ru grub-1.99.orig/util/grub.d/10_linux.in grub-1.99/util/grub.d/10_linux.in
+--- grub-1.99.orig/util/grub.d/10_linux.in 2011-08-11 15:54:52.051246328 +0200
++++ grub-1.99/util/grub.d/10_linux.in 2011-08-11 15:55:41.297910793 +0200
+@@ -134,7 +134,7 @@
+
+ case x`uname -m` in
+ xi?86 | xx86_64)
+- list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* /boot/vmlinuz26-* ; do
++ list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* /boot/vmlinuz26-* /boot/vmlinuz26 ; do
+ if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
+ done` ;;
+ *)
+@@ -163,7 +163,8 @@
+ "initrd-${alt_version}" "initramfs-${alt_version}.img" \
+ "initramfs-genkernel-${version}" \
+ "initramfs-genkernel-${alt_version}" \
+- "${basename/vmlinuz/kernel}.img"; do
++ "${basename/vmlinuz/kernel}.img" \
++ "${basename/vmlinuz/initramfs}.img"; do
+ if test -e "${dirname}/${i}" ; then
+ initrd="$i"
+ break
+@@ -194,7 +195,8 @@
+ linux_entry "${OS}" "${version}" false \
+ "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
+ for i in "initramfs-${version}-fallback.img" \
+- "${basename/vmlinuz/kernel}-fallback.img"; do
++ "${basename/vmlinuz/kernel}-fallback.img" \
++ "${basename/vmlinuz/initramfs}-fallback.img"; do
+ if test -e "${dirname}/${i}"; then
+ initrd="$i"
+ linux_entry "${OS}" "${version}" true \