diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-11-03 16:36:31 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-11-03 17:12:15 +0100 |
| commit | 44d929a1b973d3f4131d25d7f9cd7b69c3cf3514 (patch) | |
| tree | b2036529618aa82066ed9256e480feeaee15e16d /src/migration-scripts/https/3-to-4 | |
| parent | 6fe3f483aafe9ac27cd45791dde574f1b4a8b0b7 (diff) | |
| download | vyos-1x-44d929a1b973d3f4131d25d7f9cd7b69c3cf3514.tar.gz vyos-1x-44d929a1b973d3f4131d25d7f9cd7b69c3cf3514.zip | |
serial: T9567: honor booted serial console during 31 -> 32 migration
An installation that still carries a legacy 1.3.x image keeps GRUB in compat
mode. The GRUB structure update then rewrites the GRUB vars on every boot,
before the config migration runs. The migration relied on these vars to detect
a serial boot console and silently skipped setting "system console device
ttyS0 kernel" after an upgrade from 1.4. The console code then fell back to
tty0, so the next boot lost all serial output.
On compat GRUB installs, the migration now uses the console the kernel booted
with (the last console= argument). Installs using the current GRUB layout
keep reading the GRUB vars, so a one-off console choice from the GRUB boot
options menu is not persisted into the config.
Diffstat (limited to 'src/migration-scripts/https/3-to-4')
0 files changed, 0 insertions, 0 deletions
