aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-28 11:28:52 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2020-06-29 19:33:55 +0200
commitb7d545c2c5290a68425011112edea84d3f2e6030 (patch)
treea8209b8f4b4e95292be4c44ff73e11478179517b
parentcdf4ff826bc91fc9d79e7f9085fb62f788f32e75 (diff)
downloadmeta-openembedded-contrib-b7d545c2c5290a68425011112edea84d3f2e6030.tar.gz
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 <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/daemontools/daemontools_0.76.bb1
1 files changed, 1 insertions, 0 deletions
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
}