diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-support/libnl | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libnl')
3 files changed, 0 insertions, 100 deletions
diff --git a/meta/recipes-support/libnl/files/0001-tests-cksuite-all-netns.c-disable-route_1.patch b/meta/recipes-support/libnl/files/0001-tests-cksuite-all-netns.c-disable-route_1.patch deleted file mode 100644 index cc5e3890a1..0000000000 --- a/meta/recipes-support/libnl/files/0001-tests-cksuite-all-netns.c-disable-route_1.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 9e45c8809fc4e0aa1dd2ec2ac3e57352049f1b92 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Tue, 20 Aug 2024 19:01:59 +0200 | ||
| 4 | Subject: [PATCH] tests/cksuite-all-netns.c: disable route_1 | ||
| 5 | |||
| 6 | This is a new test added in https://github.com/thom311/libnl/commit/49f7822961f5bc6b18cd2a2d3f3b8d2ab0896d3f | ||
| 7 | and while it passes on host Debian, it doesn't inside poky. | ||
| 8 | |||
| 9 | Investigation into why is proceeding slowly, and I'm simply | ||
| 10 | not skilled enough in AF_NETLINK, so let's disable until the | ||
| 11 | core reason for the fail is arrived at. | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate [fail reported and investigated at https://github.com/thom311/libnl/issues/399] | ||
| 14 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 15 | --- | ||
| 16 | tests/cksuite-all-netns.c | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/tests/cksuite-all-netns.c b/tests/cksuite-all-netns.c | ||
| 20 | index 5b9d3a5..b2fc46a 100644 | ||
| 21 | --- a/tests/cksuite-all-netns.c | ||
| 22 | +++ b/tests/cksuite-all-netns.c | ||
| 23 | @@ -341,7 +341,7 @@ Suite *make_nl_netns_suite(void) | ||
| 24 | nltst_netns_fixture_teardown); | ||
| 25 | tcase_add_test(tc, cache_and_clone); | ||
| 26 | tcase_add_loop_test(tc, test_create_iface, 0, 17); | ||
| 27 | - tcase_add_test(tc, route_1); | ||
| 28 | + //tcase_add_test(tc, route_1); | ||
| 29 | suite_add_tcase(suite, tc); | ||
| 30 | |||
| 31 | return suite; | ||
diff --git a/meta/recipes-support/libnl/files/run-ptest b/meta/recipes-support/libnl/files/run-ptest deleted file mode 100755 index 0d0c665cd2..0000000000 --- a/meta/recipes-support/libnl/files/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | |||
| 3 | CK_AUTOMAKE=1 ./check-all | ||
diff --git a/meta/recipes-support/libnl/libnl_3.11.0.bb b/meta/recipes-support/libnl/libnl_3.11.0.bb deleted file mode 100644 index 26c87dbb1c..0000000000 --- a/meta/recipes-support/libnl/libnl_3.11.0.bb +++ /dev/null | |||
| @@ -1,66 +0,0 @@ | |||
| 1 | SUMMARY = "A library for applications dealing with netlink sockets" | ||
| 2 | DESCRIPTION = "The libnl suite is a collection of libraries providing \ | ||
| 3 | APIs to netlink protocol based Linux kernel interfaces. libnl is the core \ | ||
| 4 | library implementing the fundamentals required to use the netlink protocol \ | ||
| 5 | such as socket handling, message construction and parsing, and sending \ | ||
| 6 | and receiving of data." | ||
| 7 | HOMEPAGE = "https://github.com/thom311/libnl" | ||
| 8 | SECTION = "libs/network" | ||
| 9 | |||
| 10 | PE = "1" | ||
| 11 | |||
| 12 | LICENSE = "LGPL-2.1-only" | ||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 14 | |||
| 15 | DEPENDS = "flex-native bison-native" | ||
| 16 | |||
| 17 | SRC_URI = "${GITHUB_BASE_URI}/download/${BPN}${@d.getVar('PV').replace('.','_')}/${BP}.tar.gz \ | ||
| 18 | file://run-ptest \ | ||
| 19 | file://0001-tests-cksuite-all-netns.c-disable-route_1.patch \ | ||
| 20 | " | ||
| 21 | |||
| 22 | SRC_URI[sha256sum] = "2a56e1edefa3e68a7c00879496736fdbf62fc94ed3232c0baba127ecfa76874d" | ||
| 23 | |||
| 24 | GITHUB_BASE_URI = "https://github.com/thom311/${BPN}/releases" | ||
| 25 | UPSTREAM_CHECK_REGEX = "releases/tag/libnl(?P<pver>.+)" | ||
| 26 | |||
| 27 | inherit autotools pkgconfig ptest github-releases | ||
| 28 | |||
| 29 | FILES:${PN} = "${libdir}/libnl-3.so.* \ | ||
| 30 | ${libdir}/libnl.so.* \ | ||
| 31 | ${sysconfdir}" | ||
| 32 | RREPLACES:${PN} = "libnl2" | ||
| 33 | RCONFLICTS:${PN} = "libnl2" | ||
| 34 | |||
| 35 | FILES:${PN}-dev += "${libdir}/libnl/cli/*/*.la" | ||
| 36 | FILES:${PN}-staticdev += "${libdir}/libnl/cli/*/*.a" | ||
| 37 | |||
| 38 | PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm" | ||
| 39 | FILES:${PN}-cli = "${libdir}/libnl-cli-3.so.* \ | ||
| 40 | ${libdir}/libnl/cli/*/*.so \ | ||
| 41 | ${bindir}/genl-ctrl-list \ | ||
| 42 | ${bindir}/idiag-socket-details \ | ||
| 43 | ${bindir}/nf-* \ | ||
| 44 | ${bindir}/nl-*" | ||
| 45 | FILES:${PN}-genl = "${libdir}/libnl-genl-3.so.* \ | ||
| 46 | ${libdir}/libnl-genl.so.*" | ||
| 47 | FILES:${PN}-idiag = "${libdir}/libnl-idiag-3.so.*" | ||
| 48 | FILES:${PN}-nf = "${libdir}/libnl-nf-3.so.*" | ||
| 49 | FILES:${PN}-route = "${libdir}/libnl-route-3.so.*" | ||
| 50 | FILES:${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*" | ||
| 51 | RREPLACES:${PN}-genl = "libnl-genl2" | ||
| 52 | RCONFLICTS:${PN}-genl = "libnl-genl2" | ||
| 53 | |||
| 54 | DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'libcheck', '', d)}" | ||
| 55 | RRECOMMENDS:${PN}-ptest += "kernel-module-dummy kernel-module-bonding" | ||
| 56 | RDEPENDS:${PN}-ptest += "iproute2-ip" | ||
| 57 | |||
| 58 | do_compile_ptest() { | ||
| 59 | oe_runmake ./tests/check-all | ||
| 60 | } | ||
| 61 | |||
| 62 | do_install_ptest() { | ||
| 63 | ./libtool install install ./tests/check-all ${D}${PTEST_PATH}/ | ||
| 64 | } | ||
| 65 | |||
| 66 | BBCLASSEXTEND = "native nativesdk" | ||
