Blame SOURCES/0148-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch

a85e8e
From 6fdf50141a37a6af9df041daf577f6dca2479155 Mon Sep 17 00:00:00 2001
a85e8e
From: Peter Jones <pjones@redhat.com>
a85e8e
Date: Thu, 4 Sep 2014 15:52:08 -0400
a85e8e
Subject: [PATCH 148/260] Minimize the sort ordering for .debug and -rescue-
a85e8e
 kernels.
a85e8e
a85e8e
Resolves: rhbz#1065360
a85e8e
Signed-off-by: Peter Jones <pjones@redhat.com>
a85e8e
---
a85e8e
 util/grub-mkconfig_lib.in | 8 ++++++++
a85e8e
 1 file changed, 8 insertions(+)
a85e8e
a85e8e
diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in
a85e8e
index 14fadbcbb..7ac0bbed0 100644
a85e8e
--- a/util/grub-mkconfig_lib.in
a85e8e
+++ b/util/grub-mkconfig_lib.in
a85e8e
@@ -248,6 +248,14 @@ version_test_gt ()
a85e8e
     *.old:*.old) ;;
a85e8e
     *.old:*) version_test_gt_a="`echo -n "$version_test_gt_a" | sed -e 's/\.old$//'`" ; version_test_gt_cmp=gt ;;
a85e8e
     *:*.old) version_test_gt_b="`echo -n "$version_test_gt_b" | sed -e 's/\.old$//'`" ; version_test_gt_cmp=ge ;;
a85e8e
+    *-rescue-*:*-rescue-*) ;;
a85e8e
+    *.debug:*.debug) ;;
a85e8e
+    *-rescue-*:*.debug) return 1 ;;
a85e8e
+    *.debug:*-rescue-*) return 0 ;;
a85e8e
+    *-rescue-*:*) return 1 ;;
a85e8e
+    *:*-rescue-*) return 0 ;;
a85e8e
+    *.debug:*) return 1 ;;
a85e8e
+    *:*.debug) return 0 ;;
a85e8e
   esac
a85e8e
   version_test_numeric "$version_test_gt_a" "$version_test_gt_cmp" "$version_test_gt_b"
a85e8e
   return "$?"
a85e8e
-- 
a85e8e
2.13.0
a85e8e