How to get name of output packages during build #yocto #bitbake
Hi,
Does yocto store all packages name that will be built from a recipe in a variable?
BR,
Simon
Bitbake -g recipe
Might emit what you want in some form
Quoted 21 lines · simonblack.it via lists.yoctoproject.org
Hi,
Does yocto store all packages name that will be built from a recipe in a variable?
BR,
Simon
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#57523):
https://lists.yoctoproject.org/g/yocto/message/57523
Mute This Topic: https://lists.yoctoproject.org/mt/92357520/1997914
Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 1 line · simonblack.it via lists.yoctoproject.org
Does yocto store all packages name that will be built from a recipe in a variable?
That *will* be built, no.
PACKAGES contains the packages which *can* be built, but also the do_package can create more. For example, it’s possible for a package which builds 20 plugins to dynamically create a package-per-plugin instead of the list being hardcoded.
If you want to know what packages a recipe created then you can use pkgdata. There is a tool to examine it:
$ oe-pkgdata-util list-pkgs —recipe glibc glibc glibc-dbg glibc-dev glibc-doc glibc-extra-nss glibc-pcprofile glibc-src glibc-staticdev glibc-thread-db glibc-utils ldconfig ldd ldso libmemusage libnss-db libsotruss malloc-debug nscd sln tzcode
Ross
Quoted 23 lines · Ross Burton
Quoted 1 line · simonblack.it via lists.yoctoproject.org
Does yocto store all packages name that will be built from a recipe in a variable?
That *will* be built, no.
PACKAGES contains the packages which *can* be built, but also the
do_packagecan create more. For example, it’s possible for a package which builds 20 plugins to dynamically create a package-per-plugin instead of the list being hardcoded.If you want to know what packages a recipe created then you can use pkgdata. There is a tool to examine it:
$ oe-pkgdata-util list-pkgs —recipe glibc glibc glibc-dbg glibc-dev glibc-doc glibc-extra-nss glibc-pcprofile glibc-src glibc-staticdev glibc-thread-db glibc-utils ldconfig ldd
Quoted 8 lines
ldso libmemusage libnss-db libsotruss malloc-debug nscd sln tzcode
this is nice. I mistook it for the dependencies