From 73840d7b91f2650a6a0922d0bca7033270b6ffc4 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Wed, 20 Sep 2023 08:27:09 +0300 Subject: [PATCH] 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 --- mkosi.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi.default b/mkosi.default index cd65624..11da836 100644 --- a/mkosi.default +++ b/mkosi.default @@ -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