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>
This commit is contained in:
Khem Raj
2020-01-28 11:28:52 -08:00
parent 1c085f4877
commit 50d526d06a
@@ -33,6 +33,7 @@ DEPENDS += "daemontools-native"
DEPENDS_class-native = ""
do_compile() {
echo "int main() { return 0; }" >${S}/src/chkshsgr.c
./package/compile
}