From: Khem Raj Date: Wed, 13 Sep 2023 06:24:55 +0000 (-0700) Subject: coreutils: Add config.h to ptest package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ea2aab453384d4d265969a209ee6b156dd421d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git coreutils: Add config.h to ptest package This is needed by several tests during run on target Fixes grep: /usr/lib/coreutils/ptest/lib/config.h: No such file or directory inotify-race.sh: skipped test: inotify is not supported More tests are now passing ============================================================================ Testsuite summary for GNU coreutils 9.4 ============================================================================ # TOTAL: 643 -# PASS: 509 -# SKIP: 131 +# PASS: 516 +# SKIP: 124 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/coreutils/coreutils_9.4.bb b/meta/recipes-core/coreutils/coreutils_9.4.bb index 25f6cb15db0..f210df2e697 100644 --- a/meta/recipes-core/coreutils/coreutils_9.4.bb +++ b/meta/recipes-core/coreutils/coreutils_9.4.bb @@ -181,6 +181,7 @@ do_install_ptest () { sed -i 's/ginstall/install/g' `grep -R ginstall ${D}${PTEST_PATH}/tests | awk -F: '{print $1}' | uniq` install -d ${D}${PTEST_PATH}/build-aux install ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/ + install -Dm 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/config.h cp ${B}/Makefile ${D}${PTEST_PATH}/ cp ${S}/init.cfg ${D}${PTEST_PATH}/ cp -r ${B}/src ${D}${PTEST_PATH}/