chrony: backport upstream patch to fix blocking on getrandom() at startup with recent...
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 9 Aug 2018 15:57:28 +0000 (17:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 9 Aug 2018 20:11:39 +0000 (22:11 +0200)
commitd9937b62e0d197644ddf68bde6bcfff6e916ba61
tree3a94af0a1d169e4a912dd09c771219f0262d342e
parentc4a3cdd06a7a4acd08036ff3a77d107bb41592e1
chrony: backport upstream patch to fix blocking on getrandom() at startup with recent kernels

chrony calls getrandom() at startup if available, so it needs a workaround
for the blocking behaviour on recent (4.14.39+), similar to what was done
for util-linux in commit c4d86707cd6 (util-linux: add two upstream patches
to fix blocking on getrandom() with recent kernels).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/chrony/0002-util-fall-back-to-reading-dev-urandom-when-getrandom.patch [new file with mode: 0644]