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

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