mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
mkosi: Unify device timeout for CI and local runs
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.
This commit is contained in:
parent
e2219740f3
commit
3a8e9b4a0e
9
.github/workflows/mkosi.yml
vendored
9
.github/workflows/mkosi.yml
vendored
@ -123,15 +123,6 @@ jobs:
|
||||
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
|
||||
|
||||
|
@ -29,7 +29,7 @@ KernelCommandLine=systemd.crash_shell
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user