Blame SOURCES/0036-Don-t-put-spaces-in-debug-entries-on-zipl-platforms.patch

903092
From 9d37eca5d9ec131d9129d320d983bd02fbac4f02 Mon Sep 17 00:00:00 2001
903092
From: Peter Jones <pjones@redhat.com>
903092
Date: Tue, 11 Nov 2014 10:46:08 -0500
903092
Subject: [PATCH 36/41] Don't put spaces in debug entries on zipl platforms.
903092
903092
Because of course zipl can't handle spaces.
903092
903092
Related: rhbz#1152152
903092
903092
Signed-off-by: Peter Jones <pjones@redhat.com>
903092
---
903092
 new-kernel-pkg | 6 +++++-
903092
 1 file changed, 5 insertions(+), 1 deletion(-)
903092
903092
diff --git a/new-kernel-pkg b/new-kernel-pkg
903092
index 527f8fb..f6369e4 100755
903092
--- a/new-kernel-pkg
903092
+++ b/new-kernel-pkg
903092
@@ -140,7 +140,11 @@ rungrubby() {
903092
 	if [ "$1" == "--debug" ]; then
903092
 		[ "$MAKEDEBUG" != "yes" ] && return 0
903092
 		[ -n "$verbose" ] && echo "- First, making a debug entry."
903092
-		declare -x debugtitle=" with debugging"
903092
+		if [ $ARCH = 's390' -o $ARCH = 's390x' ]; then
903092
+			declare -x debugtitle="_with_debugging"
903092
+		else
903092
+			declare -x debugtitle=" with debugging"
903092
+		fi
903092
 		declare -x debugargs="$DEBUGARG"
903092
 		shift
903092
 	else
903092
-- 
903092
2.4.3
903092