]> code.ossystems Code Review - openembedded-core.git/commit
rng-tools: fix rngd blocks system shutdown
authorKai Kang <kai.kang@windriver.com>
Tue, 2 Jul 2019 08:32:40 +0000 (04:32 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jul 2019 08:09:50 +0000 (09:09 +0100)
commitedf760682270de36850407c860bea5aea29e30bc
tree0adc90832ac6692ccc39646fb20a13f252b54ec3
parent1654e8a6ec53799ce55302dfc075d4b1bd5a6cc0
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>
meta/recipes-support/rng-tools/rng-tools/fix-rngd-fail-to-stop.patch [deleted file]
meta/recipes-support/rng-tools/rng-tools/rngd.service
meta/recipes-support/rng-tools/rng-tools_6.7.bb