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

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