95sel-ebc: Add udev-settle dependency

Since this unit cannot have a dependency on the actual needed
dev-disk-by2xdlabel-boot.device unit because it might not exist if the
label is never set but this unit has to run after it when it does exist
wait for udev-settle which creates the symlink if it does exist.

Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Finn Callies
2026-07-06 11:23:12 +02:00
committed by Jan Höppner
parent a05935cca9
commit 9f03ddf519

View File

@@ -9,6 +9,9 @@ DefaultDependencies=no
# Make absolutely sure this only runs in initramfs
ConditionPathExists=/etc/initrd-release
ConditionKernelCommandLine=rd.sel-ebc
Requires=systemd-udev-settle.service
After=systemd-udev-settle.service
After=systemd-udevd.service
[Service]
Type=oneshot