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

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