mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
util-linux-native: Avoid use of getrandom
getrandom() is only available in glibc 2.25+ and uninative may relocate binaries onto systems that don't have this function. For now, force the code to the older codepath until we can come up with a better solution for this kind of issue. (From OE-Core rev: 95e31e4b15573eb1cbeb4ff1d0903c5141b84d54) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
21
meta/recipes-core/util-linux/util-linux/no_getrandom.patch
Normal file
21
meta/recipes-core/util-linux/util-linux/no_getrandom.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
getrandom() is only available in glibc 2.25+ and uninative may relocate
|
||||
binaries onto systems that don't have this function. For now, force the
|
||||
code to the older codepath until we can come up with a better solution
|
||||
for this kind of issue.
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
RP
|
||||
2016/8/15
|
||||
|
||||
Index: util-linux-2.30/configure.ac
|
||||
===================================================================
|
||||
--- util-linux-2.30.orig/configure.ac
|
||||
+++ util-linux-2.30/configure.ac
|
||||
@@ -399,7 +399,6 @@ AC_CHECK_FUNCS([ \
|
||||
getdtablesize \
|
||||
getexecname \
|
||||
getmntinfo \
|
||||
- getrandom \
|
||||
getrlimit \
|
||||
getsgnam \
|
||||
inotify_init \
|
||||
Reference in New Issue
Block a user