util-linux: Use SYS_getrandom in randutils.c
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 18 May 2023 15:12:36 +0000 (17:12 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 19 May 2023 20:43:45 +0000 (22:43 +0200)
commit3a935f7ea9214c831eccc585f0677c5132957dde
tree61b5684824f0ebdfa26234426cc30ac5acf21ff3
parent2f11a89140030b51397199083b34b0e13ba9cbc6
util-linux: Use SYS_getrandom in randutils.c

The getrandom syscall is not hanging at bootup any more if there is
not enough entropy. This was fixed upstream in 2018 in commit:
https://github.com/util-linux/util-linux/commit/a9cf659e0508c1f56813a7d74c64f67bbc962538

This OpenWrt patch is not needed any more.
This reverts commit e64463ebde55 ("util-linux: avoid using the getrandom syscall")

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/utils/util-linux/Makefile
package/utils/util-linux/patches/210-use-urandom.patch [deleted file]