summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-09-06 21:53:26 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-09-09 14:37:42 +0000
commitc55cb9e43a4ff26224cd917f91c057f15535ee3b (patch)
treeb69cae9b47f50fa2ea56ad9d3fe01c1354a17fca
parentbce13c2ccfb3fc1edf29156c5b348e7d50ae59da (diff)
agl-profile-core/packagegroup-agl-core-boot: add rng-tools
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>
-rw-r--r--meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb b/meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb
index c9d679879..1633feddc 100644
--- a/meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb
+++ b/meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-boot.bb
@@ -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)} \