diff mbox series

[meta-networking] libtalloc: fix pytalloc package ordering

Message ID 20251109164541.2901-1-moraless.philius5@gmail.com
State New
Headers show
Series [meta-networking] libtalloc: fix pytalloc package ordering | expand

Commit Message

moraless.philius5@gmail.com Nov. 9, 2025, 4:45 p.m. UTC
From: Moraless Philius <moraless.philius5@gmail.com>

The libtalloc recipe did not properly populate the pytalloc package
because pytalloc was listed after the main libtalloc package in the
PACKAGES variable. As a result, the pytalloc package contained only
talloc.so and was missing other required files.

Signed-off-by: Moraless Philius <moraless.philius5@gmail.com>
---
 .../recipes-support/libtalloc/libtalloc_2.4.2.bb       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Comments

Khem Raj Nov. 10, 2025, 7:26 a.m. UTC | #1
please rebase it on master-next and resend

On Sun, Nov 9, 2025 at 11:22 AM moraless.philius5 via lists.openembedded.org
<moraless.philius5=gmail.com@lists.openembedded.org> wrote:

> From: Moraless Philius <moraless.philius5@gmail.com>
>
> The libtalloc recipe did not properly populate the pytalloc package
> because pytalloc was listed after the main libtalloc package in the
> PACKAGES variable. As a result, the pytalloc package contained only
> talloc.so and was missing other required files.
>
> Signed-off-by: Moraless Philius <moraless.philius5@gmail.com>
> ---
>  .../recipes-support/libtalloc/libtalloc_2.4.2.bb       | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
> b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
> index b617f097cf..177872fd60 100644
> --- a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
> +++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
> @@ -49,13 +49,15 @@ do_install_ptest() {
>      install -m 0755 ${B}/bin/*_testsuite ${D}${PTEST_PATH}/tests/
>  }
>
> -PACKAGES += "pytalloc pytalloc-dev"
> +PACKAGES =+ "pytalloc pytalloc-dev"
>
>  RPROVIDES:${PN}-dbg += "pytalloc-dbg"
>
>  FILES:pytalloc = "${PYTHON_SITEPACKAGES_DIR}/* \
> -                  ${libdir}/libpytalloc-util.so.2 \
> -                  ${libdir}/libpytalloc-util.so.2.1.1 \
> +                  ${libdir}/libpytalloc-util.so.* \
>                   "
> -FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so"
> +FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so \
> +                      ${includedir}/pytalloc.h \
> +                      ${libdir}/pkgconfig/pytalloc.pc \
> +                     "
>  RDEPENDS:pytalloc = "python3"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#121445):
> https://lists.openembedded.org/g/openembedded-devel/message/121445
> Mute This Topic: https://lists.openembedded.org/mt/116207686/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
index b617f097cf..177872fd60 100644
--- a/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
+++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb
@@ -49,13 +49,15 @@  do_install_ptest() {
     install -m 0755 ${B}/bin/*_testsuite ${D}${PTEST_PATH}/tests/
 }
 
-PACKAGES += "pytalloc pytalloc-dev"
+PACKAGES =+ "pytalloc pytalloc-dev"
 
 RPROVIDES:${PN}-dbg += "pytalloc-dbg"
 
 FILES:pytalloc = "${PYTHON_SITEPACKAGES_DIR}/* \
-                  ${libdir}/libpytalloc-util.so.2 \
-                  ${libdir}/libpytalloc-util.so.2.1.1 \
+                  ${libdir}/libpytalloc-util.so.* \
                  "
-FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so"
+FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so \
+                      ${includedir}/pytalloc.h \
+                      ${libdir}/pkgconfig/pytalloc.pc \
+                     "
 RDEPENDS:pytalloc = "python3"