Blame SOURCES/0024-Change-debug-entry-insertion-order-rhbz-1285601.patch

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