]> TLD Linux GIT Repositories - packages/grub2.git/commitdiff
- cosmetics
authorMarcin Krol <hawk@tld-linux.org>
Thu, 6 Feb 2014 12:13:06 +0000 (12:13 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 6 Feb 2014 12:13:06 +0000 (12:13 +0000)
choose-preferred-initrd.patch

index 12a01ba1d74c89ca83e63f274b124dbfe3e78183..b6f1887f5dba8de67035f856fe4d4ebe5b8b2775 100644 (file)
@@ -45,7 +45,7 @@ diff -dur -x '*.orig' grub-2.00.git20131218.orig/util/grub.d/20_linux_xen.in gru
 +      if [ x"${GRUB_PREFER_DRACUT}" != "xtrue" ]; then
 +          initrd_search_list="initrd.img-${version} initrd-${version}.img initrd-${version}.gz initrd-${version} initramfs-${version}.img initrd.img-${alt_version} initrd-${alt_version}.img initrd-${alt_version} initramfs-${alt_version}.img"
 +      else
-+          initrd_search_list="initramfs-${version}.img initrd.img-${version} initrd-${version}.img initrd-${version}.gz initrd-${version}  initramfs-${alt_version}.img initrd.img-${alt_version} initrd-${alt_version}.img initrd-${alt_version}"
++          initrd_search_list="initramfs-${version}.img initrd.img-${version} initrd-${version}.img initrd-${version}.gz initrd-${version} initramfs-${alt_version}.img initrd.img-${alt_version} initrd-${alt_version}.img initrd-${alt_version}"
 +      fi
 +      for i in $initrd_search_list \
           "initramfs-genkernel-${version}" \