CI: mkosi: Fix mainline boot on Ubuntu mantic

Ubuntu removed 'systemd-gpt-auto-generator' from systemd_253.5-1ubuntu5,
causing dracut to be unable to find the root partition without
assistance. It appears that specifying the root label could be a good
solution.

Fixes: https://github.com/lkrg-org/lkrg/issues/287
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
Vitaly Chikunov 2023-09-20 08:27:09 +03:00 committed by Solar Designer
parent 91d3da9ece
commit 73840d7b91

View file

@ -11,7 +11,7 @@ Release=hirsute
[Output]
Bootable=yes
# 'no_timer_check' is old workaround to intermittent apic kernel panic in qemu.
KernelCommandLine=no_timer_check panic=-1 oops=panic panic_on_warn softlockup_panic=1 ignore_loglevel
KernelCommandLine=no_timer_check panic=-1 oops=panic panic_on_warn softlockup_panic=1 ignore_loglevel root=LABEL=root
# Separate initrd for possible debugging.
WithUnifiedKernelImages=no