diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-09 16:54:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-14 11:14:40 +0000 |
commit | 81fc280bae13c573d8b82b05ad5eb18e7882ad24 (patch) | |
tree | 2a251ca4edc8529a6d8fe0aa722838f213debfe8 /meta/recipes-support/rng-tools | |
parent | d40767ac831cb3e20b43a87a47e772026f6d19f6 (diff) | |
download | poky-81fc280bae13c573d8b82b05ad5eb18e7882ad24.tar.gz |
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.
(From OE-Core rev: 078630b7bf8599ea2b3717ce33d2da0f7f26b0e2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/rng-tools')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools/rngd.service | 2 |
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 | |||
5 | Before=sysinit.target | 5 | Before=sysinit.target |
6 | 6 | ||
7 | [Service] | 7 | [Service] |
8 | ExecStart=@SBINDIR@/rngd -f -r /dev/urandom | 8 | ExecStart=@SBINDIR@/rngd -f -r /dev/hwrng |
9 | SuccessExitStatus=66 | 9 | SuccessExitStatus=66 |
10 | 10 | ||
11 | [Install] | 11 | [Install] |