From b6ef00864dbb5c05b608a2e5d3605597b10befdf Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Thu, 28 Jan 2021 08:36:05 +0000 Subject: meta-agl-core: fix entropy gathering on rng-tools 6.9 Bug-AGL: SPEC-3775 rngd daemon may spam the console when using an older version than 6.11. Backport patches from https://github.com/nhorman/rng-tools/pull/99/commits, while waiting for an update of rng-tools (>= 6.11) in poky repository. Change-Id: Icf55a648d4c30a3c94d2afaee91e6c0a2207a130 Signed-off-by: Julien Massot Change-Id: I08d1856ca6bd0be76b3c7fe0a962d73cebe8bef7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26001 Tested-by: Jenkins Job builder account Tested-by: Jan-Simon Moeller ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend (limited to 'meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend') diff --git a/meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend b/meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend new file mode 100644 index 000000000..def1f8cd6 --- /dev/null +++ b/meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/rng-tools:" + +SRC_URI += " \ + file://0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch \ + file://0002-rngd_jitter-initialize-AES-key-before-setting-the-en.patch \ + file://0003-rngd_jitter-always-read-from-entropy-pipe-before-set.patch \ + " + -- cgit 1.2.3-korg