mirror of
https://github.com/openwall/lkrg.git
synced 2023-12-13 21:30:29 +01:00
73840d7b91
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>
37 lines
741 B
Text
37 lines
741 B
Text
# mkosi.default - Another way to run a test system with LKRG module.
|
|
|
|
[Distribution]
|
|
Distribution=ubuntu
|
|
# Linux version per release:
|
|
# focal - v5.4
|
|
# groovy - v5.8
|
|
# hirsute - v5.11
|
|
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 root=LABEL=root
|
|
# Separate initrd for possible debugging.
|
|
WithUnifiedKernelImages=no
|
|
|
|
[Partitions]
|
|
# 2G was not enough for build with mainline kernels installs.
|
|
RootSize=4G
|
|
|
|
[Packages]
|
|
BuildPackages=
|
|
diffutils
|
|
gcc
|
|
make
|
|
linux-virtual
|
|
Packages=
|
|
sysvbanner
|
|
kmod
|
|
|
|
[Host]
|
|
QemuHeadless=yes
|
|
|
|
[Validation]
|
|
Password=
|
|
Autologin=yes
|