1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Drop all #1594402 workarounds

I'm pretty sure we got all the bugs this was working around
fixed. Again, if not, we can put this back!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-12-17 14:27:18 -08:00
parent 01fd92cb34
commit f40599ee15
3 changed files with 1 additions and 34 deletions

View File

@ -20,8 +20,6 @@ sub run {
} }
if (get_var("ANACONDA_TEXT")) { if (get_var("ANACONDA_TEXT")) {
$params .= "inst.text "; $params .= "inst.text ";
# we need this on aarch64 till #1594402 is resolved
$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");

View File

@ -91,23 +91,6 @@ sub run {
# serial console. we don't want this, it messes up decryption # serial console. we don't want this, it messes up decryption
# (as plymouth will expect the passphrase on the serial console, # (as plymouth will expect the passphrase on the serial console,
# not the virtual console). Let's go fix this up now. # not the virtual console). Let's go fix this up now.
if (get_var("ARCH") eq "aarch64") {
$self->root_console();
# somehow, by this point, localized keyboard layout has been
# loaded for this tty, so for French and Arabic at least we
# need to load the 'us' layout again for the next command to
# be typed correctly
console_loadkeys_us;
# stick 'console=tty0' on the end of GRUB_CMDLINE_LINUX in
# the grub defaults file, and 'quiet' so we don't get kernel
# messages, which screws up some needles. RHBZ#1594402
assert_script_run 'sed -i -e "s,\(GRUB_CMDLINE_LINUX.*\)\",\1 console=tty0 quiet\",g" /mnt/sysimage/etc/default/grub';
# regenerate the bootloader config
assert_script_run "chroot /mnt/sysimage grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg";
# let's just reboot from here, seems simplest
type_string "reboot\n" unless (get_var("MEMCHECK"));
return;
}
# for the memory check test, we *don't* want to leave # for the memory check test, we *don't* want to leave
unless (get_var("MEMCHECK")) { unless (get_var("MEMCHECK")) {
assert_and_click "anaconda_install_done"; assert_and_click "anaconda_install_done";

View File

@ -19,22 +19,8 @@ sub run {
# select "rescue system" # select "rescue system"
if (get_var('UEFI')) { if (get_var('UEFI')) {
send_key "down"; send_key "down";
# we need this on aarch64 till #1594402 is resolved
if (get_var('ARCH') eq 'aarch64') {
send_key "e";
# duped with do_bootloader, sadly...
send_key "down";
sleep 1;
send_key "down";
sleep 1;
send_key "end";
type_safely " console=tty0";
send_key "ctrl-x";
}
else {
send_key "ret"; send_key "ret";
} }
}
else { else {
type_string "r\n"; type_string "r\n";
} }