From: "André Draszik" <git@andred.net>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 09/16] site: musl and glibc have working getgroups()
Date: Fri, 10 Jan 2020 16:52:55 +0000 [thread overview]
Message-ID: <20200110165302.27426-10-git@andred.net> (raw)
In-Reply-To: <20200110165302.27426-1-git@andred.net>
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.
Signed-off-by: André Draszik <git@andred.net>
---
meta/site/common-glibc | 1 +
meta/site/common-musl | 1 +
2 files changed, 2 insertions(+)
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}
gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no}
gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes}
gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max=yes}
+ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes}
gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes}
# 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}
gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no}
gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes}
gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly working'}
+ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes}
gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no}
gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no}
gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes}
--
2.23.0.rc1
next prev parent reply other threads:[~2020-01-10 16:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 16:52 [PATCH 00/16] site updates (autotools / coreutils) André Draszik
2020-01-10 16:52 ` [PATCH 01/16] site: linux has working chown() André Draszik
2020-01-10 16:52 ` [PATCH 02/16] site: musl has working memcmp() André Draszik
2020-01-10 16:52 ` [PATCH 03/16] site: musl and glibc have working mkstemp() André Draszik
2020-01-10 16:52 ` [PATCH 04/16] site: musl and glibc have glibc compatible calloc() André Draszik
2020-01-10 16:52 ` [PATCH 05/16] site: linux supports unlink() of executing program André Draszik
2020-01-10 16:52 ` [PATCH 06/16] site: musl and glibc have glibc compatible getcwd() André Draszik
2020-01-10 16:52 ` [PATCH 07/16] site: set getcwd() behaviour for long paths for glibc / musl André Draszik
2020-01-10 16:52 ` [PATCH 08/16] site: set getcwd() test result for abort()-bug " André Draszik
2020-01-10 16:52 ` André Draszik [this message]
2020-01-10 16:52 ` [PATCH 10/16] site: linux supports NULL in utime() André Draszik
2020-01-10 16:52 ` [PATCH 11/16] site: musl and glibc have working utimes() André Draszik
2020-01-10 16:52 ` [PATCH 12/16] site: on linux, pipes are fifos with max link count of 1 André Draszik
2020-01-10 16:52 ` [PATCH 13/16] site: on linux, link(2) doesn't follow symlinks André Draszik
2020-01-10 16:53 ` [PATCH 14/16] site: set nanosleep() behaviour for glibc / musl André Draszik
2020-01-10 16:53 ` [PATCH 15/16] site: strtod() works in " André Draszik
2020-01-10 16:53 ` [PATCH 16/16] site: musl and glibc have working mktime() André Draszik
2020-01-10 18:46 ` [PATCH 00/16] site updates (autotools / coreutils) Khem Raj
2020-01-11 14:10 ` Adrian Bunk
2020-01-11 14:32 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200110165302.27426-10-git@andred.net \
--to=git@andred.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.