agama/live/live-root/usr/bin
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
..
X Adapted to change in live root main directory 2025-06-03 09:36:39 +02:00
agama-issue-generator Use inst.remote=0 for disabling the remote access to Agama (#3336) 2026-04-13 17:10:54 +02:00
agama-kernel-cmdline.sh Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
agama-screenshot live: Added agama-screenshot helper script (#3537) 2026-06-01 16:50:59 +02:00
checkmedia-service Display the checkmedia result and wait on a key press on all consoles 2026-06-02 09:46:29 +02:00
info-cmdline-conf.sh Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
initrd-network-setup.sh feat(live): Added new boot option "live.net_config_tui=1" (#2923) 2026-01-09 16:08:10 +01:00
kernel-cmdline-conf.sh Filter installer-only boot parameters from target cmdline 2026-05-14 09:18:06 +05:30
live-password Fixed errors reported by the shfmt tool 2026-06-02 13:38:21 +02:00
live-self-update Fixed starting the nmtui and self-update services (#3504) 2026-05-15 17:08:24 +02:00