]> TLD Linux GIT Repositories - packages/grub2.git/blob - initrd-search.patch
- fix initrd-search patch
[packages/grub2.git] / initrd-search.patch
1 diff -ur grub-2.02-beta2.orig/util/grub.d/10_linux.in grub-2.02-beta2/util/grub.d/10_linux.in
2 --- grub-2.02-beta2.orig/util/grub.d/10_linux.in        2013-12-24 20:53:23.000000000 +0000
3 +++ grub-2.02-beta2/util/grub.d/10_linux.in     2015-08-04 11:09:27.932635208 +0000
4 @@ -185,10 +185,7 @@
5    linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
6  
7    initrd=
8 -  for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
9 -          "initrd-${version}" "initramfs-${version}.img" \
10 -          "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
11 -          "initrd-${alt_version}" "initramfs-${alt_version}.img" \
12 +  for i in "initramfs-${version}.img" "initramfs-${alt_version}.img" \
13            "initramfs-genkernel-${version}" \
14            "initramfs-genkernel-${alt_version}" \
15            "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
16 diff -ur grub-2.02-beta2.orig/util/grub.d/20_linux_xen.in grub-2.02-beta2/util/grub.d/20_linux_xen.in
17 --- grub-2.02-beta2.orig/util/grub.d/20_linux_xen.in    2013-12-24 20:53:23.000000000 +0000
18 +++ grub-2.02-beta2/util/grub.d/20_linux_xen.in 2015-08-04 11:10:18.928635208 +0000
19 @@ -213,10 +213,7 @@
20         linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
21  
22         initrd=
23 -       for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
24 -          "initrd-${version}" "initramfs-${version}.img" \
25 -          "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
26 -          "initrd-${alt_version}" "initramfs-${alt_version}.img" \
27 +       for i in "initramfs-${version}.img" "initramfs-${alt_version}.img" \
28            "initramfs-genkernel-${version}" \
29            "initramfs-genkernel-${alt_version}" \
30            "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \