mirror of
https://github.com/systemd/systemd.git
synced 2025-02-23 13:57:33 +03:00
mkosi: Only lower device timeout instead of all timeouts
We only really care about lowering the device timeout so we get to a shell faster when the root device doesn't appear so let's only lower that timeout instead of lowering all default timeouts.
This commit is contained in:
parent
6b818cd7e5
commit
a47c48cbb2
3
.github/workflows/mkosi.yml
vendored
3
.github/workflows/mkosi.yml
vendored
@ -87,7 +87,6 @@ jobs:
|
||||
|
||||
[Content]
|
||||
Environment=CI_BUILD=1
|
||||
DEFAULT_TIMEOUT_SEC=180
|
||||
SLOW_TESTS=true
|
||||
|
||||
[Output]
|
||||
@ -95,6 +94,8 @@ jobs:
|
||||
systemd.journald.max_level_console=debug
|
||||
# udev's debug log output is very verbose, so up it to info in CI.
|
||||
udev.log_level=info
|
||||
# Root device can take a long time to appear, so let's bump the timeout.
|
||||
systemd.default_device_timeout_sec=180
|
||||
|
||||
[Host]
|
||||
ExtraSearchPaths=!*
|
||||
|
@ -36,3 +36,6 @@ KernelCommandLineExtra=systemd.crash_shell
|
||||
systemd.wants=network-online.target
|
||||
# Make sure we don't load vmw_vmci which messes with virtio vsock.
|
||||
module_blacklist=vmw_vmci
|
||||
# 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=10
|
||||
|
@ -51,8 +51,6 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
|
||||
CONFIGURE_OPTS=(
|
||||
-D sysvinit-path="$sysvinit_path"
|
||||
-D rootprefix="$rootprefix"
|
||||
-D default-timeout-sec="${DEFAULT_TIMEOUT_SEC:-10}"
|
||||
-D default-user-timeout-sec="${DEFAULT_TIMEOUT_SEC:-10}"
|
||||
-D man=false
|
||||
-D translations=false
|
||||
-D version-tag="${VERSION_TAG}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user