diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-06-13 14:04:31 +0200 |
---|---|---|
committer | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-06-13 17:43:56 -0300 |
commit | 5d1aac8a57ef73e593344799acc87e061efd0068 (patch) | |
tree | 36d5b9044dd3760ec8e22c471a23345ae11a4693 /recipes-samples/images/lmp-image-common.inc | |
parent | 855d9ae06a7fb6cf6771045d8facb1c17d52bc51 (diff) |
lmp-gateway-image: add haveged to remedy low-entropy
On headless embedded systems entropy is often rather low. This
leads to a delayed initialization of the random pool ("crng init
done"), e.g. on a Colibri iMX7:
# dmesg | grep random
[ 0.000000] random: fast init done
[ 6.944298] systemd[1]: Initializing machine ID from random generator.
[ 143.523689] random: crng init done
This also delays docker startup since docker seems to make use of
the getrandom() syscall, which stalls until crng init is done.
Add haveged which uses the HAVEGE algorithm and makes sure that
enough entropy is available early on.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-samples/images/lmp-image-common.inc')
0 files changed, 0 insertions, 0 deletions