recovery init: add rngd to increase the quantity of entropy
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
This commit is contained in:
parent
00d30ee9a0
commit
d7da8794f1
|
|
@ -59,4 +59,5 @@ FILES_${PN} = "/"
|
|||
|
||||
RDEPENDS_${PN}_append_ccimx6 = " \
|
||||
cryptsetup \
|
||||
rng-tools \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -417,6 +417,11 @@ mkdir -p /var/lock
|
|||
# Set kernel console loglevel.
|
||||
sysctl -q -w kernel.printk=4
|
||||
|
||||
if [ "$(is_nand)" = "no" ]; then
|
||||
# Launch 'rngd' to feed random data to kernel entropy pool
|
||||
mkdir -p /var/run && rngd
|
||||
fi
|
||||
|
||||
# Start psplash.
|
||||
psplash &
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue