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

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