Now that we use KVM and don't use repart anymore to create a root
partition on first boot, let's see if we can use the same device timeout
for both local and CI runs.
RuntimeBuildSources=no
EOF
- # These should override the options from mkosi.conf so we put them in a dropin that's ordered later
- # instead.
- tee mkosi.conf.d/99-ci.conf <<EOF
- [Host]
- KernelCommandLineExtra=
- # Root device can take a long time to appear, so let's bump the timeout.
- systemd.default_device_timeout_sec=180
- EOF
-
- name: Generate secure boot key
run: mkosi --debug genkey
rw
# Lower the default device timeout so we get a shell earlier if the root device does
# not appear for some reason.
- systemd.default_device_timeout_sec=20
+ systemd.default_device_timeout_sec=30
# Make sure no LSMs are enabled by default.
apparmor=0
selinux=0