From: "Jairo Mejia Aponte" <jairo.mejiaaponte@belden.com>
To: "Ross Burton" <ross.burton@arm.com>, yocto@lists.yoctoproject.org
Subject: Re: [yocto] [scarthgap] Setting image feature dev-pkgs bring ptest package of libgpiod
Date: Wed, 16 Jul 2025 05:40:32 -0700 [thread overview]
Message-ID: <24418.1752669632403386029@lists.yoctoproject.org> (raw)
In-Reply-To: <B2AA36EC-743E-4DA5-B022-9F037BB42072@arm.com>
[-- Attachment #1: Type: text/plain, Size: 1762 bytes --]
Hi,
I was looking the code in more deep and I found out that even though there is a ptest and ptest-dev defined on the recipe and the folders are created as such in package-split folder, at the end the package name *change* to a package that is named after a shared library that is added in the ptest package. This is the line that makes the RPM package to change the name:
FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
This seems to trigger a change of name for the ptest package to the name of the library. Because the new package name contains the *-dev,* this is added when setting the *dev-pkgs* in the IMAGE_FEATURES. If I remove that line for the ptest, the name of the package is the ptest expected and it is not added to the image at the end.
This is how the directories looks like:
ls -l tmp/work/core2-64-poky-linux/libgpiod/2.1.2/packages-split
drwxr-xr-x libgpiod
drwxr-xr-x libgpiod-dbg
drwxr-xr-x libgpiod-dev
drwxr-xr-x libgpiod-doc
drwxr-xr-x libgpiod-locale
*drwxr-xr-x libgpiod-ptest*
*drwxr-xr-x libgpiod-ptest-dev*
.rw-r--r-- libgpiod-ptest.shlibdeps
drwxr-xr-x libgpiod-src
drwxr-xr-x libgpiod-staticdev
drwxr-xr-x libgpiod-tools
.rw-r--r-- libgpiod-tools.shlibdeps
.rw-r--r-- libgpiod.shlibdeps
drwxr-xr-x libgpiodcxx
.rw-r--r-- libgpiodcxx.shlibdeps
ls -l tmp/work/core2-64-poky-linux/libgpiod/2.1.2/deploy-rpms/core2_64
.rw-r--r-- libgpiod-dbg-2.1.2-r0.core2_64.rpm
.rw-r--r-- libgpiod-dev-2.1.2-r0.core2_64.rpm
.rw-r--r-- libgpiod-src-2.1.2-r0.core2_64.rpm
.rw-r--r-- libgpiod-tools-2.1.2-r0.core2_64.rpm
.rw-r--r-- libgpiod3-2.1.2-r0.core2_64.rpm
.rw-r--r-- libgpiodcxx2-2.1.2-r0.core2_64.rpm
*.rw-r--r-- libgpiosim-dev-2.1.2-r0.core2_64.rpm*
*.rw-r--r-- libgpiosim1-2.1.2-r0.core2_64.rpm*
[-- Attachment #2: Type: text/html, Size: 2160 bytes --]
next prev parent reply other threads:[~2025-07-16 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-16 10:11 [scarthgap] Setting image feature dev-pkgs bring ptest package of libgpiod Jairo Mejia Aponte
2025-07-16 10:21 ` [yocto] " Ross Burton
2025-07-16 11:18 ` Jairo Mejia Aponte
2025-07-16 12:02 ` Ross Burton
2025-07-16 12:40 ` Jairo Mejia Aponte [this message]
2025-07-16 12:46 ` Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24418.1752669632403386029@lists.yoctoproject.org \
--to=jairo.mejiaaponte@belden.com \
--cc=ross.burton@arm.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.