@@ -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"
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(-)