From f30b7517ce2b95691727d2334cbd949d9c9d9b7d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sun, 24 Jun 2018 17:09:19 -0700 Subject: [PATCH] Correct the text install workaround for aarch64 I sorta screwed up the brackets there a bit. Signed-off-by: Adam Williamson --- tests/_boot_to_anaconda.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 1734f96e..8b3baf77 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -18,9 +18,10 @@ sub run { if ($repourl) { $params .= "inst.repo=" . get_full_repo($repourl) . " "; } - $params .= "inst.text " if get_var("ANACONDA_TEXT"); - # makes text install on aarch64 work - RHBZ#1594402 - $params .= "console=tty0" if (get_var("ARCH" eq "aarch64")); + if (get_var("ANACONDA_TEXT")) { + $params .= "inst.text "; + $params .= "console=tty0 " if (get_var("ARCH") eq "aarch64"); + } # inst.debug enables memory use tracking $params .= "debug" if get_var("MEMCHECK"); # ternary: set $params to "" if it contains only spaces