mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
rng-tools: add systemd-udev-settle wants to service
rngd needs to start after `systemd-udev-settle` in order for the kernel modules of the random source hardware to be loaded before it is started. However, since the `rngd.service` does not require or want `systemd-udev-settle.service` it might not be scheduled for start and the `After=systemd-udev-settle.service` there has no effect. Adding `Wants=systemd-udev-settle.service` provides a weak requirement to it, so that the `rngd` is started after it, if possible. (From OE-Core rev: e9715d4234eb7b45dee8b323799014646f0a1b07) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7bbd93f8dc
commit
c5d1550fe6
@@ -3,6 +3,7 @@ Description=Hardware RNG Entropy Gatherer Daemon
|
||||
DefaultDependencies=no
|
||||
After=systemd-udev-settle.service
|
||||
Before=sysinit.target shutdown.target
|
||||
Wants=systemd-udev-settle.service
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
|
||||
Reference in New Issue
Block a user