diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-14 15:20:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:01:45 +0100 |
commit | 95e31e4b15573eb1cbeb4ff1d0903c5141b84d54 (patch) | |
tree | 0c3a36e97259de6539c23b48fa644c7f542caf4d /meta/recipes-core/util-linux/util-linux | |
parent | 92bda0024d85ae78345665cc2f9646c9881ed61b (diff) | |
download | openembedded-core-contrib-95e31e4b15573eb1cbeb4ff1d0903c5141b84d54.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/no_getrandom.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/no_getrandom.patch b/meta/recipes-core/util-linux/util-linux/no_getrandom.patch new file mode 100644 index 0000000000..b9fa1cace4 --- /dev/null +++ b/meta/recipes-core/util-linux/util-linux/no_getrandom.patch @@ -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 \ |