|
|
11b490 |
From 089057d3c574ec804c967dcd4ae8a0368e7ee90f Mon Sep 17 00:00:00 2001
|
|
|
11b490 |
From: Robert Marshall <rmarshall@redhat.com>
|
|
|
11b490 |
Date: Thu, 23 Jun 2016 14:41:12 -0400
|
|
|
11b490 |
Subject: [PATCH 55/55] Change debug entry insertion order (rhbz#1285601)
|
|
|
11b490 |
|
|
|
11b490 |
Customer reports indicated that it was confusing to have the debugging
|
|
|
11b490 |
entries before non-debugging entries. Altered the insertion code to use
|
|
|
11b490 |
the --set-index feature on the debug kernels to force them to insert
|
|
|
11b490 |
after the initial non-debugging entry.
|
|
|
11b490 |
|
|
|
11b490 |
Resolves: rhbz#1285601
|
|
|
11b490 |
---
|
|
|
11b490 |
new-kernel-pkg | 10 +++++-----
|
|
|
11b490 |
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
11b490 |
|
|
|
11b490 |
diff --git a/new-kernel-pkg b/new-kernel-pkg
|
|
|
11b490 |
index bd28634..847e959 100755
|
|
|
11b490 |
--- a/new-kernel-pkg
|
|
|
11b490 |
+++ b/new-kernel-pkg
|
|
|
11b490 |
@@ -238,7 +238,7 @@ install() {
|
|
|
11b490 |
--remove-kernel=\"TITLE=$title\$debugtitle\""
|
|
|
11b490 |
|
|
|
11b490 |
rungrubby ${ARGS} $makedefault
|
|
|
11b490 |
- rungrubby --debug ${ARGS}
|
|
|
11b490 |
+ rungrubby --debug ${ARGS} --set-index=1
|
|
|
11b490 |
else
|
|
|
11b490 |
[ -n "$verbose" ] && echo "$grubConfig does not exist, not running grubby for grub 0.97"
|
|
|
11b490 |
fi
|
|
|
11b490 |
@@ -252,7 +252,7 @@ install() {
|
|
|
11b490 |
--args=\"root=$rootdevice $kernargs \$debugargs\" \
|
|
|
11b490 |
--remove-kernel=\"TITLE=$title\$debugtitle\""
|
|
|
11b490 |
rungrubby ${ARGS} $makedefault
|
|
|
11b490 |
- rungrubby --debug ${ARGS}
|
|
|
11b490 |
+ rungrubby --debug ${ARGS} --set-index=1
|
|
|
11b490 |
else
|
|
|
11b490 |
[ -n "$verbose" ] && echo "$grub2Config does not exist, not running grubby for grub 2"
|
|
|
11b490 |
fi
|
|
|
11b490 |
@@ -267,7 +267,7 @@ install() {
|
|
|
11b490 |
--args=\"root=$rootdevice $kernargs \$debugargs\" \
|
|
|
11b490 |
--remove-kernel=\"TITLE=$title\$debugtitle\""
|
|
|
11b490 |
rungrubby ${ARGS} $makedefault
|
|
|
11b490 |
- rungrubby --debug ${ARGS}
|
|
|
11b490 |
+ rungrubby --debug ${ARGS} --set-index=1
|
|
|
11b490 |
else
|
|
|
11b490 |
[ -n "$verbose" ] && echo "$grub2EfiConfig does not exist, not running grubby for grub 2 with UEFI"
|
|
|
11b490 |
fi
|
|
|
11b490 |
@@ -283,7 +283,7 @@ install() {
|
|
|
11b490 |
--remove-kernel=\"TITLE=$version\""
|
|
|
11b490 |
|
|
|
11b490 |
rungrubby ${ARGS} $makedefault
|
|
|
11b490 |
- rungrubby --debug ${ARGS}
|
|
|
11b490 |
+ rungrubby --debug ${ARGS} --set-index=1
|
|
|
11b490 |
if [ -n "$runLilo" ]; then
|
|
|
11b490 |
[ -n "$verbose" ] && echo "running $lilo"
|
|
|
11b490 |
if [ ! -x $lilo ] ; then
|
|
|
11b490 |
@@ -307,7 +307,7 @@ install() {
|
|
|
11b490 |
--remove-kernel=\"TITLE=$title\$debugtitle\""
|
|
|
11b490 |
|
|
|
11b490 |
rungrubby ${ARGS} $makedefault
|
|
|
11b490 |
- rungrubby --debug ${ARGS}
|
|
|
11b490 |
+ rungrubby --debug ${ARGS} --set-index=1
|
|
|
11b490 |
else
|
|
|
11b490 |
[ -n "$verbose" ] && echo "$extlinuxConfig does not exist, not running grubby for extlinux"
|
|
|
11b490 |
fi
|
|
|
11b490 |
--
|
|
|
11b490 |
2.5.5
|
|
|
11b490 |
|