mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 14:33:28 +01:00
udevadm settle: use timeout
there are cases where this can just indefinitly hang as we can see in VM tests. Let's add a tie breaker.
This commit is contained in:
1 parent
a8e75da08f
commit
76c0a6dba3
5 files changed
+7
-7
No files matched your search
@@ -126,7 +126,7 @@ let
|
||||
${pkgs.systemdMinimal}/lib/systemd/systemd-udevd --daemon
|
||||
partprobe
|
||||
udevadm trigger --action=add
|
||||
udevadm settle
|
||||
udevadm settle --timeout=120
|
||||
|
||||
${lib.optionalString diskoCfg.testMode ''
|
||||
export IN_DISKO_TEST=1
|
||||
|
||||
Reference in new issue
Block a user