From 50d526d06a742fa69ff698d7c2eefffb56e13afa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 Jan 2020 11:28:52 -0800 Subject: daemontools: Disable the chkshsgr tests Running the chkhsgr test during cross compile fails ./chkshsgr || ( cat warn-shsgr; exit 1 ) Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups. All OE based targets have working getgroups()/setgroups() implementation, so its a safe assumption and therefore make the test to be a dummy Signed-off-by: Khem Raj --- meta-oe/recipes-support/daemontools/daemontools_0.76.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb index 35251cb8dc..d674e03781 100644 --- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb +++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb @@ -33,6 +33,7 @@ DEPENDS += "daemontools-native" DEPENDS_class-native = "" do_compile() { + echo "int main() { return 0; }" >${S}/src/chkshsgr.c ./package/compile } -- cgit v1.2.3-54-g00ecf