Initial commit
Some checks failed
Build Kernel / Set targets (push) Has been cancelled
Build all core packages / build (malta/be) (push) Has been cancelled
Build all core packages / build (x86/64) (push) Has been cancelled
Build host tools / build-macos-latest (push) Has been cancelled
Build host tools / build-linux-buildbot (push) Has been cancelled
Build Kernel / Build Kernel with external toolchain (push) Has been cancelled
Build Kernel / Check Kernel patches (push) Has been cancelled
Build host tools / push-tools-container (push) Has been cancelled
Some checks failed
Build Kernel / Set targets (push) Has been cancelled
Build all core packages / build (malta/be) (push) Has been cancelled
Build all core packages / build (x86/64) (push) Has been cancelled
Build host tools / build-macos-latest (push) Has been cancelled
Build host tools / build-linux-buildbot (push) Has been cancelled
Build Kernel / Build Kernel with external toolchain (push) Has been cancelled
Build Kernel / Check Kernel patches (push) Has been cancelled
Build host tools / push-tools-container (push) Has been cancelled
This commit is contained in:
14
package/utils/util-linux/patches/100-use_urandom.patch
Normal file
14
package/utils/util-linux/patches/100-use_urandom.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/lib/randutils.c
|
||||
+++ b/lib/randutils.c
|
||||
@@ -26,6 +26,11 @@
|
||||
#define THREAD_LOCAL static
|
||||
#endif
|
||||
|
||||
+/* force /dev/urandom to avoid hanging on early boot */
|
||||
+#undef HAVE_GETRANDOM
|
||||
+#undef SYS_getrandom
|
||||
+#undef __NR_getrandom
|
||||
+
|
||||
#ifdef HAVE_GETRANDOM
|
||||
# include <sys/random.h>
|
||||
#elif defined (__linux__)
|
||||
Reference in New Issue
Block a user