diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-09 16:54:21 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-05 22:22:51 +0000 |
| commit | e34a5eb55f1b9e1fd455b60922a9ba501e1eca4a (patch) | |
| tree | 795b618130eebb8d517c81c85754cc92e45fc581 | |
| parent | 7c76c5d78b850a9c1adccf8b11ed0164da608f1c (diff) | |
| download | poky-e34a5eb55f1b9e1fd455b60922a9ba501e1eca4a.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: b1980460839baa04d10866877cbfe31ca8093ff3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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] |
