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:
Jörg Thalheim authored and Jörg Thalheim committed 2025-04-08 20:46:43 +00:00
1 parent a8e75da08f
commit 76c0a6dba3
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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