summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-support/libnl
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-support/libnl/files/0001-tests-cksuite-all-netns.c-disable-route_1.patch31
-rwxr-xr-xmeta/recipes-support/libnl/files/run-ptest3
-rw-r--r--meta/recipes-support/libnl/libnl_3.11.0.bb66
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 @@
1From 9e45c8809fc4e0aa1dd2ec2ac3e57352049f1b92 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 20 Aug 2024 19:01:59 +0200
4Subject: [PATCH] tests/cksuite-all-netns.c: disable route_1
5
6This is a new test added in https://github.com/thom311/libnl/commit/49f7822961f5bc6b18cd2a2d3f3b8d2ab0896d3f
7and while it passes on host Debian, it doesn't inside poky.
8
9Investigation into why is proceeding slowly, and I'm simply
10not skilled enough in AF_NETLINK, so let's disable until the
11core reason for the fail is arrived at.
12
13Upstream-Status: Inappropriate [fail reported and investigated at https://github.com/thom311/libnl/issues/399]
14Signed-off-by: Alexander Kanavin <alex@linutronix.de>
15---
16 tests/cksuite-all-netns.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/tests/cksuite-all-netns.c b/tests/cksuite-all-netns.c
20index 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
3CK_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 @@
1SUMMARY = "A library for applications dealing with netlink sockets"
2DESCRIPTION = "The libnl suite is a collection of libraries providing \
3APIs to netlink protocol based Linux kernel interfaces. libnl is the core \
4library implementing the fundamentals required to use the netlink protocol \
5such as socket handling, message construction and parsing, and sending \
6and receiving of data."
7HOMEPAGE = "https://github.com/thom311/libnl"
8SECTION = "libs/network"
9
10PE = "1"
11
12LICENSE = "LGPL-2.1-only"
13LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
14
15DEPENDS = "flex-native bison-native"
16
17SRC_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
22SRC_URI[sha256sum] = "2a56e1edefa3e68a7c00879496736fdbf62fc94ed3232c0baba127ecfa76874d"
23
24GITHUB_BASE_URI = "https://github.com/thom311/${BPN}/releases"
25UPSTREAM_CHECK_REGEX = "releases/tag/libnl(?P<pver>.+)"
26
27inherit autotools pkgconfig ptest github-releases
28
29FILES:${PN} = "${libdir}/libnl-3.so.* \
30 ${libdir}/libnl.so.* \
31 ${sysconfdir}"
32RREPLACES:${PN} = "libnl2"
33RCONFLICTS:${PN} = "libnl2"
34
35FILES:${PN}-dev += "${libdir}/libnl/cli/*/*.la"
36FILES:${PN}-staticdev += "${libdir}/libnl/cli/*/*.a"
37
38PACKAGES += "${PN}-cli ${PN}-genl ${PN}-idiag ${PN}-nf ${PN}-route ${PN}-xfrm"
39FILES:${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-*"
45FILES:${PN}-genl = "${libdir}/libnl-genl-3.so.* \
46 ${libdir}/libnl-genl.so.*"
47FILES:${PN}-idiag = "${libdir}/libnl-idiag-3.so.*"
48FILES:${PN}-nf = "${libdir}/libnl-nf-3.so.*"
49FILES:${PN}-route = "${libdir}/libnl-route-3.so.*"
50FILES:${PN}-xfrm = "${libdir}/libnl-xfrm-3.so.*"
51RREPLACES:${PN}-genl = "libnl-genl2"
52RCONFLICTS:${PN}-genl = "libnl-genl2"
53
54DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'libcheck', '', d)}"
55RRECOMMENDS:${PN}-ptest += "kernel-module-dummy kernel-module-bonding"
56RDEPENDS:${PN}-ptest += "iproute2-ip"
57
58do_compile_ptest() {
59 oe_runmake ./tests/check-all
60}
61
62do_install_ptest() {
63 ./libtool install install ./tests/check-all ${D}${PTEST_PATH}/
64}
65
66BBCLASSEXTEND = "native nativesdk"