From 9efc915f0c7714ff63597f2df00369b4ea53b176 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 6 Feb 2014 12:13:06 +0000 Subject: [PATCH] - cosmetics --- choose-preferred-initrd.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" \ -- 2.46.0