mirror of
https://git.yoctoproject.org/poky
synced 2026-02-02 23:08:43 +01:00
rng-tools: start earlier in the boot process
Entropy is needed earlier in the boot process in some cases, for example connman can require it, and rgd doesn't require much, so move it earlier in the boot process, 03 for sysvinit, and before sysinit for systemd. (From OE-Core rev: 31c9b42aaeef3ad66e05e51b8209e87f2a22f091) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a060ff2871
commit
7cb64b9fe1
@@ -1,5 +1,8 @@
|
||||
[Unit]
|
||||
Description=Hardware RNG Entropy Gatherer Daemon
|
||||
DefaultDependencies=no
|
||||
After=systemd-udev-settle.service
|
||||
Before=sysinit.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@SBINDIR@/rngd -f -r /dev/urandom
|
||||
|
||||
@@ -43,6 +43,6 @@ do_install_append() {
|
||||
}
|
||||
|
||||
INITSCRIPT_NAME = "rng-tools"
|
||||
INITSCRIPT_PARAMS = "start 30 2 3 4 5 . stop 30 0 6 1 ."
|
||||
INITSCRIPT_PARAMS = "start 03 2 3 4 5 . stop 30 0 6 1 ."
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "rngd.service"
|
||||
|
||||
Reference in New Issue
Block a user