meta-agl-core: fix entropy gathering on rng-tools 6.9 70/25970/2
authorJulien Massot <julien.massot@iot.bzh>
Thu, 28 Jan 2021 08:36:05 +0000 (08:36 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 4 Feb 2021 15:38:11 +0000 (15:38 +0000)
commit446c37c2d9e1337ccbfecef8dbf7a2de73fbc035
treee834125586ae381e8893457cbd62c354157609b5
parentdd86e53d3eabcb5cd30b3ddda82b4c2de22c8c38
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 <julien.massot@iot.bzh>
Change-Id: I08d1856ca6bd0be76b3c7fe0a962d73cebe8bef7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25970
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-core/recipes-support/rng-tools/rng-tools/0001-rngd_jitter-fix-O_NONBLOCK-setting-for-entropy-pipe.patch [new file with mode: 0644]
meta-agl-core/recipes-support/rng-tools/rng-tools/0002-rngd_jitter-initialize-AES-key-before-setting-the-en.patch [new file with mode: 0644]
meta-agl-core/recipes-support/rng-tools/rng-tools/0003-rngd_jitter-always-read-from-entropy-pipe-before-set.patch [new file with mode: 0644]
meta-agl-core/recipes-support/rng-tools/rng-tools_6.9.bbappend [new file with mode: 0644]