From: Marcin Krol Date: Thu, 6 Feb 2014 12:13:06 +0000 (+0000) Subject: - cosmetics X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=9efc915f0c7714ff63597f2df00369b4ea53b176;p=packages%2Fgrub2.git - cosmetics --- diff --git a/choose-preferred-initrd.patch b/choose-preferred-initrd.patch index 12a01ba..b6f1887 100644 --- a/choose-preferred-initrd.patch +++ b/choose-preferred-initrd.patch @@ -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}" \