From 7cb64b9fe1dcf5e157983a929b102b41fa4f872d Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 22 Jun 2018 02:08:06 +0500 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-support/rng-tools/rng-tools/rngd.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-support/rng-tools/rng-tools') 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 @@ [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 -- cgit v1.2.3-54-g00ecf