mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
58fe9aa736
- Clean up the build a bit to make it faster - Make grubenv work right on UEFI machines Related: rhbz#1119943 - Sort debug and rescue kernels later than normal ones Related: rhbz#1065360 - Allow "fallback" to include entries by title as well as number. Related: rhbz#1026084 - Fix a segfault on aarch64. - Load arm with SB enabled if available. - Add some serial port options to GRUB_MODULES. Signed-off-by: Peter Jones <pjones@redhat.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 358aef9d8342b92662d4970fa7ec769293a7e879 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Thu, 4 Sep 2014 15:52:08 -0400
|
|
Subject: [PATCH 148/152] Minimize the sort ordering for .debug and -rescue-
|
|
kernels.
|
|
|
|
Resolves: rhbz#1065360
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
---
|
|
util/grub-mkconfig_lib.in | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in
|
|
index 14fadbc..7ac0bbe 100644
|
|
--- a/util/grub-mkconfig_lib.in
|
|
+++ b/util/grub-mkconfig_lib.in
|
|
@@ -248,6 +248,14 @@ version_test_gt ()
|
|
*.old:*.old) ;;
|
|
*.old:*) version_test_gt_a="`echo -n "$version_test_gt_a" | sed -e 's/\.old$//'`" ; version_test_gt_cmp=gt ;;
|
|
*:*.old) version_test_gt_b="`echo -n "$version_test_gt_b" | sed -e 's/\.old$//'`" ; version_test_gt_cmp=ge ;;
|
|
+ *-rescue-*:*-rescue-*) ;;
|
|
+ *.debug:*.debug) ;;
|
|
+ *-rescue-*:*.debug) return 1 ;;
|
|
+ *.debug:*-rescue-*) return 0 ;;
|
|
+ *-rescue-*:*) return 1 ;;
|
|
+ *:*-rescue-*) return 0 ;;
|
|
+ *.debug:*) return 1 ;;
|
|
+ *:*.debug) return 0 ;;
|
|
esac
|
|
version_test_numeric "$version_test_gt_a" "$version_test_gt_cmp" "$version_test_gt_b"
|
|
return "$?"
|
|
--
|
|
1.9.3
|
|
|