summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-11-09 16:54:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-13 15:18:28 +0000
commit078630b7bf8599ea2b3717ce33d2da0f7f26b0e2 (patch)
treef3fd86bbcb6f06e12508b134c232974c2080f87b /meta/recipes-support
parent4828a88556d59e4d06933164c2ebeb9361b7450e (diff)
downloadopenembedded-core-contrib-078630b7bf8599ea2b3717ce33d2da0f7f26b0e2.tar.gz
openembedded-core-contrib-078630b7bf8599ea2b3717ce33d2da0f7f26b0e2.tar.bz2
openembedded-core-contrib-078630b7bf8599ea2b3717ce33d2da0f7f26b0e2.zip
rng-tools: Fix crazy defaults
Since commit [f1dc9ac rng-tools: Fix crazy defaults] fixed init based on sysvinit, this fix rngd.service based on systemd. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/rng-tools/rng-tools/rngd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service b/meta/recipes-support/rng-tools/rng-tools/rngd.service
index cb8102442d..f0355db14f 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
@@ -5,7 +5,7 @@ After=systemd-udev-settle.service
Before=sysinit.target
[Service]
-ExecStart=@SBINDIR@/rngd -f -r /dev/urandom
+ExecStart=@SBINDIR@/rngd -f -r /dev/hwrng
SuccessExitStatus=66
[Install]