Signed-off-by: Alexander Kanavin <[email protected]> --- ...-tests-do-not-run-target-executables.patch | 32 +++++++++++++++++++ .../libcap/{libcap_2.27.bb => libcap_2.28.bb} | 5 +-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch rename meta/recipes-support/libcap/{libcap_2.27.bb => libcap_2.28.bb} (90%)
diff --git a/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch new file mode 100644 index 00000000000..d6b2ad6f4f8 --- /dev/null +++ b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch @@ -0,0 +1,32 @@ +From 05c5f9515d6b26ed0e1eeff72ed618ca6e42c1ba Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Fri, 20 Dec 2019 16:54:05 +0100 +Subject: [PATCH] tests: do not run target executables + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin <[email protected]> +--- + tests/Makefile | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/tests/Makefile b/tests/Makefile +index b16bdcd..2cb510f 100644 +--- a/tests/Makefile ++++ b/tests/Makefile +@@ -10,8 +10,6 @@ all: run_psx_test run_libcap_psx_test + install: all + + run_psx_test: psx_test psx_test_wrap +- ./psx_test +- ./psx_test_wrap + + psx_test: psx_test.c + $(CC) $(CFLAGS) $(IPATH) -DNOWRAP $< -o $@ $(LIBPSXLIB) +@@ -20,7 +18,6 @@ psx_test_wrap: psx_test.c + $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBPSXLIB) -Wl,-wrap,pthread_create + + run_libcap_psx_test: libcap_psx_test +- ./libcap_psx_test + + libcap_psx_test: libcap_psx_test.c + $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) -Wl,-wrap,pthread_create --static diff --git a/meta/recipes-support/libcap/libcap_2.27.bb b/meta/recipes-support/libcap/libcap_2.28.bb similarity index 90% rename from meta/recipes-support/libcap/libcap_2.27.bb rename to meta/recipes-support/libcap/libcap_2.28.bb index 3f64ff76364..781309692e9 100644 --- a/meta/recipes-support/libcap/libcap_2.27.bb +++ b/meta/recipes-support/libcap/libcap_2.28.bb @@ -9,9 +9,10 @@ DEPENDS = "hostperl-runtime-native gperf-native" SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${PV}.tar.xz \ file://0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch \ + file://0002-tests-do-not-run-target-executables.patch \ " -SRC_URI[md5sum] = "2e8f9fab32eb5ccb37969fe317fd17aa" -SRC_URI[sha256sum] = "dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a" +SRC_URI[md5sum] = "4066ddca53fb7e146f98372c8e43afc4" +SRC_URI[sha256sum] = "c0e70c3bcce288ada2bfe8d748e816b601590495312222e92e307cf18d6a38aa" UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/" -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
