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

39700a
From de35b045e49e54a3823cfa2edbd35e131d266304 Mon Sep 17 00:00:00 2001
39700a
From: Peter Jones <pjones@redhat.com>
39700a
Date: Thu, 4 Sep 2014 15:52:08 -0400
39700a
Subject: [PATCH] Minimize the sort ordering for .debug and -rescue- 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
39700a
index 14fadbc..e9a71b4 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
-- 
39700a
1.9.3
39700a