[oe-commits] [meta-openembedded] 01/02: daemontools: Disable the chkshsgr tests

git at git.openembedded.org git at git.openembedded.org
Tue Jan 28 19:33:28 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 50d526d06a742fa69ff698d7c2eefffb56e13afa
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Jan 28 11:28:52 2020 -0800

    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 at gmail.com>
---
 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 35251cb..d674e03 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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list