summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/rng-tools/rng-tools/rngd.service
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-07-02 04:32:40 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-03 09:09:50 +0100
commitedf760682270de36850407c860bea5aea29e30bc (patch)
tree0adc90832ac6692ccc39646fb20a13f252b54ec3 /meta/recipes-support/rng-tools/rng-tools/rngd.service
parent1654e8a6ec53799ce55302dfc075d4b1bd5a6cc0 (diff)
downloadopenembedded-core-contrib-edf760682270de36850407c860bea5aea29e30bc.tar.gz
rng-tools: fix rngd blocks system shutdown
fix-rngd-fail-to-stop.patch is added to fix rngd blocks system shutdown issue. But it causes rngd doesn't release CPU and causes 100% CPU usage, so drop it. The block shutdown issue is caused by comit [7cb64b9fe1 rng-tools: start earlier in the boot process] which updated rngd.service. Revert the modification of rngd.service. Update sed expressions in do_install as well which fails to replace second match in one line. Signed-off-by: Kai Kang <kai.kang@windriver.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, 0 insertions, 3 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service b/meta/recipes-support/rng-tools/rng-tools/rngd.service
index b1a78527be..49d5de294f 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
@@ -1,8 +1,5 @@
[Unit]
Description=Hardware RNG Entropy Gatherer Daemon
-DefaultDependencies=no
-After=systemd-udev-settle.service
-Before=sysinit.target
[Service]
EnvironmentFile=-@SYSCONFDIR@/default/rng-tools