Skip to content
Commit 8d575893 authored by Claudius Heine's avatar Claudius Heine Committed by Anuj Mittal
Browse files

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.

Signed-off-by: default avatarClaudius Heine <ch@denx.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9715d42)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 94aedf7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment