Correct the text install workaround for aarch64

I sorta screwed up the brackets there a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-06-24 17:09:19 -07:00
parent ab32b75aba
commit f30b7517ce

View File

@ -18,9 +18,10 @@ sub run {
if ($repourl) { if ($repourl) {
$params .= "inst.repo=" . get_full_repo($repourl) . " "; $params .= "inst.repo=" . get_full_repo($repourl) . " ";
} }
$params .= "inst.text " if get_var("ANACONDA_TEXT"); if (get_var("ANACONDA_TEXT")) {
# makes text install on aarch64 work - RHBZ#1594402 $params .= "inst.text ";
$params .= "console=tty0" if (get_var("ARCH" eq "aarch64")); $params .= "console=tty0 " if (get_var("ARCH") eq "aarch64");
}
# inst.debug enables memory use tracking # inst.debug enables memory use tracking
$params .= "debug" if get_var("MEMCHECK"); $params .= "debug" if get_var("MEMCHECK");
# ternary: set $params to "" if it contains only spaces # ternary: set $params to "" if it contains only spaces