agl-profile-core/packagegroup-agl-core-boot: add rng-tools 83/16483/4
authorStephane Desneux <stephane.desneux@iot.bzh>
Thu, 6 Sep 2018 21:53:26 +0000 (21:53 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 9 Sep 2018 14:37:42 +0000 (14:37 +0000)
On some boards (typically Minnowboard Max), the kernel's random number entropy
pool may fill too slowly.  As a consequence, if many processes ask for random
data at the same time, the reads on /dev/random are blocked until the entropy
pool has been filled.

This patch adds rng-tools in the core images: the rngd daemon will start at boot
and fill the entropy pool.

Bug-AGL: SPEC-1655

Change-Id: Icbcf6a9ea685774dd13e33597689a3fd05aaadf4
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb

index c9d6798..1633fed 100644 (file)
@@ -34,6 +34,7 @@ RDEPENDS_${PN} = "\
     base-files \
     base-passwd \
     busybox \
+    rng-tools \
     run-agl-postinsts \
     ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
     ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \