summaryrefslogtreecommitdiff
path: root/libre/grub2/parabola-mkconfig.patch
blob: 7c18a4cc2d5409e4b6d215a6a2fc5ee29f80bdc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 \