Commit ff59b489 authored by Harald Sitter's avatar Harald Sitter

(temporarily) enable console=ttyS1 for live sessions

we are having persistent problems with bionic systems rebooting. in an
effort to debug what's going on let kmsg/printk go to our journal log
parent 2a44d026
......@@ -188,6 +188,23 @@ sub bootloader {
# When it is grub we need to hit enter to proceed.
assert_screen 'bootloader', 60;
if (match_has_tag('live-bootloader-uefi')) {
# Hack to force kmsg onto ttyS1 to debug shutdown problems. This hack
# can be dropped once neon properly shuts down all the time again!
# Edits grub entry to add more kernel cmdlines.
send_key 'e';
send_key 'down';
send_key 'down';
send_key 'down';
send_key 'down';
send_key 'end';
send_key 'left';
send_key 'left';
send_key 'left';
# Set the kmsg target to ttyS1. We then also need to force plymouth as
# it'd not do anything if console= is set.
type_string 'console=ttyS1 plymouth.force-splash plymouth.ignore-show-splash plymouth.ignore-serial-consoles ';
send_key 'ctrl-x';
if (testapi::get_var("INSTALLATION_OEM")) {
send_key 'down';
assert_screen('live-bootloader-uefi-oem');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment