]> code.ossystems Code Review - openembedded-core.git/commit
rng-tools: add systemd-udev-settle wants to service
authorClaudius Heine <ch@denx.de>
Fri, 17 Sep 2021 08:08:04 +0000 (10:08 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 20 Oct 2021 14:54:01 +0000 (22:54 +0800)
commit8d57589389f029fc4df85211254204966a94f007
tree79648faa33f96a5e78799d96e1ebe729fcf3c750
parent94aedf7d2b43ecdf0da1cf6b848f6e95ee253abf
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: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9715d4234eb7b45dee8b323799014646f0a1b07)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-support/rng-tools/rng-tools/rngd.service