mirror of
https://github.com/openwall/lkrg.git
synced 2023-12-13 21:30:29 +01:00
mkosi' "--boot-protocols is deprecated and has no effect anymore", thus do not assume we will be booting using grub/bios. Fixes: https://github.com/lkrg-org/lkrg/issues/227 Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
37 lines
725 B
Text
37 lines
725 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
|
|
# 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
|