diff options
author | André Draszik <git@andred.net> | 2020-01-10 16:52:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 09:19:20 +0000 |
commit | a127c4df0d444fd85a53c628aa2fc7442ac9df46 (patch) | |
tree | 505ec2499c12423ee0700aaec22169b2ff3bffab /meta | |
parent | f50911e2456b66d583ee2a96d9e853ebef48778e (diff) | |
download | poky-a127c4df0d444fd85a53c628aa2fc7442ac9df46.tar.gz |
site: musl and glibc have working getgroups()
recent coreutils (gnulib) assume yes when cross-compiling
for gnu (glibc), but don't know about musl.
For coherence, just set the result to yes for both.
Note that the old coreutils (from meta-gplv2) doesn't
assume anything and instead that recipe hard-codes to yes.
So behaviour with yocto when using meta-gplv2 is actually
better than when using the latest version (when using musl).
This patch rectifies this shortcoming.
(From OE-Core rev: 692fe85264e599eb659456bd2eebf5f12a1cd30f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/site/common-glibc | 1 | ||||
-rw-r--r-- | meta/site/common-musl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/site/common-glibc b/meta/site/common-glibc index 82a70b0f3f..496b8a4bcb 100644 --- a/meta/site/common-glibc +++ b/meta/site/common-glibc | |||
@@ -32,6 +32,7 @@ fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes} | |||
32 | gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no} | 32 | gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no} |
33 | gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} | 33 | gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} |
34 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max=yes} | 34 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max=yes} |
35 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} | ||
35 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} | 36 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} |
36 | 37 | ||
37 | # glib | 38 | # glib |
diff --git a/meta/site/common-musl b/meta/site/common-musl index 2785c66a5c..ec068ff673 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
@@ -37,6 +37,7 @@ fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes} | |||
37 | gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no} | 37 | gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no} |
38 | gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} | 38 | gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} |
39 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly working'} | 39 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly working'} |
40 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} | ||
40 | gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} | 41 | gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} |
41 | gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} | 42 | gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} |
42 | gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} | 43 | gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} |