Blob Blame History Raw
From 9659e65a9f7ccc2549b75262a4af50ed99cc4bb9 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 11 Nov 2014 10:46:08 -0500
Subject: [PATCH 05/55] Don't put spaces in debug entries on zipl platforms.

Because of course zipl can't handle spaces.

Related: rhbz#1152152

Signed-off-by: Peter Jones <pjones@redhat.com>
---
 new-kernel-pkg | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/new-kernel-pkg b/new-kernel-pkg
index b634388a83f..1cdbbb99501 100755
--- a/new-kernel-pkg
+++ b/new-kernel-pkg
@@ -140,7 +140,11 @@ rungrubby() {
 	if [ "$1" == "--debug" ]; then
 		[ "$MAKEDEBUG" != "yes" ] && return 0
 		[ -n "$verbose" ] && echo "- First, making a debug entry."
-		declare -x debugtitle=" with debugging"
+		if [ $ARCH = 's390' -o $ARCH = 's390x' ]; then
+			declare -x debugtitle="_with_debugging"
+		else
+			declare -x debugtitle=" with debugging"
+		fi
 		declare -x debugargs="$DEBUGARG"
 		shift
 	else
-- 
2.17.1