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

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