summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/rng-tools/rng-tools/rngd.service
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2018-06-22 02:08:06 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-27 13:55:21 +0100
commit7cb64b9fe1dcf5e157983a929b102b41fa4f872d (patch)
tree0bd70af43d75a8370c8a2c19ff7ce1adc2466666 /meta/recipes-support/rng-tools/rng-tools/rngd.service
parenta060ff2871bf01b99efd4b3f589712fc68a6cfaf (diff)
downloadpoky-7cb64b9fe1dcf5e157983a929b102b41fa4f872d.tar.gz
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>
Diffstat (limited to 'meta/recipes-support/rng-tools/rng-tools/rngd.service')
-rw-r--r--meta/recipes-support/rng-tools/rng-tools/rngd.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service b/meta/recipes-support/rng-tools/rng-tools/rngd.service
index b94ad50209..cb8102442d 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
@@ -1,5 +1,8 @@
1[Unit] 1[Unit]
2Description=Hardware RNG Entropy Gatherer Daemon 2Description=Hardware RNG Entropy Gatherer Daemon
3DefaultDependencies=no
4After=systemd-udev-settle.service
5Before=sysinit.target
3 6
4[Service] 7[Service]
5ExecStart=@SBINDIR@/rngd -f -r /dev/urandom 8ExecStart=@SBINDIR@/rngd -f -r /dev/urandom