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

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