diff mbox series

[v2,5/6] kea: fix python module packaging

Message ID 20260702125627.977563-5-ross.burton@arm.com
State New
Headers show
Series [v2,1/6] classes/meson: set python install locations in the cross file | expand

Commit Message

Ross Burton July 2, 2026, 12:56 p.m. UTC
This was previously installing into the wrong target directory because
it was using the python3-native's directory layout.

Now that meson.bbclass is telling meson where to put files, we need to
inherit python3-dir and package the correct files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-connectivity/kea/kea_3.2.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/kea/kea_3.2.0.bb b/meta/recipes-connectivity/kea/kea_3.2.0.bb
index 3967f539b7f..1b6693c2c80 100644
--- a/meta/recipes-connectivity/kea/kea_3.2.0.bb
+++ b/meta/recipes-connectivity/kea/kea_3.2.0.bb
@@ -22,7 +22,7 @@  SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.xz \
            "
 SRC_URI[sha256sum] = "14bf695d37b65b9b1bf550fea5d0adaf9806c50e5419ef2a176a4b8e9aade3df"
 
-inherit meson pkgconfig systemd update-rc.d upstream-version-is-even
+inherit meson pkgconfig systemd update-rc.d upstream-version-is-even python3-dir
 
 # install-umask can be removed when upgrading to 3.1.19 onwards
 # https://gitlab.isc.org/isc-projects/kea/-/commit/d9f332a6f36f8056a54b0698d4672a67aea812ba
@@ -98,7 +98,7 @@  CONFFILES:${PN} = "${sysconfdir}/kea/kea-ctrl-agent.conf \
                   "
 
 PACKAGES =+ "${PN}-python"
-FILES:${PN}-python = "${nonarch_libdir}/python*/site-packages/*"
+FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
 RDEPENDS:${PN}-python = "python3"
 
 FILES:${PN}-staticdev += "${libdir}/kea/hooks/*.a ${libdir}/hooks/*.a"