agama/live/live-root/usr
Ladislav Slezák 1ebae690e8
Display the checkmedia result and wait on a key press on all consoles (#3573)
## Problem

- OpenQA has some troubles with pressing a key to continue when using
the media check boot option with both normal console and serial console
(when using the `console=tty console=ttyS0` boot options).
- https://bugzilla.suse.com/show_bug.cgi?id=1267263

## Solution

- Display the check media result on all configured consoles
- Wait for pressing a key on any console

## Testing

Tested manually, works fine in all these cases:

- System with a standard system console (no extra boot options provided)
- System with a standard console and a serial console
- The standard console is the main console (booted with `console=ttyS0
console=tty`)
- The serial console is the main console (booted with `console=tty
console=ttyS0`)

## Screenshots

Tested with VirtualBox with a virtual serial port. The big window is the
main VBox VM window, the small window is a virtual serial console
attached to a virtual serial port of that VM. Booted with the
`console=tty console=ttyS0` options. The checkmedia output is displayed
only on the main console (ttyS0) but the result and the prompt is
displayed on all consoles. Pressing a key on *any console* continues
booting the system.

<img width="1276" height="1009" alt="image"
src="https://github.com/user-attachments/assets/4cfd26b9-54bc-4432-9281-e1d45dcb29cf"
/>
2026-06-03 12:59:17 +02:00
..
bin Display the checkmedia result and wait on a key press on all consoles (#3573) 2026-06-03 12:59:17 +02:00
lib Fixed errors reported by the shfmt tool 2026-06-02 13:38:21 +02:00
lib64/firefox/distribution/extensions Added plugin for switching FF to fullscreen 2025-06-03 09:36:39 +02:00
share live: update license.final content with the January 2026 EULA delivery 2026-02-11 15:57:41 +01:00