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 17:00:57 +0100
commit6fcc6e5ab2ed8fc31ddb37f475c753b9090d2188 (patch)
tree26d6e832a7b2274502060d7747609355ebd4fa10 /meta/recipes-support/rng-tools/rng-tools/rngd.service
parent70146ea8a1c45b04f77dbf871e5a18a4e0364ee4 (diff)
downloadpoky-6fcc6e5ab2ed8fc31ddb37f475c753b9090d2188.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. (From OE-Core rev: edf760682270de36850407c860bea5aea29e30bc) 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 @@
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
6 3
7[Service] 4[Service]
8EnvironmentFile=-@SYSCONFDIR@/default/rng-tools 5EnvironmentFile=-@SYSCONFDIR@/default/rng-tools