On Mon, 7 Oct 2024 at 23:08, Claus Stovgaard via lists.openembedded.org <claus.stovgaard=gmail....@lists.openembedded.org> wrote: > A prime example for where we need the installation of packages in > RRECOMMENDS, and not ignore it is for generating a SDK with all > dependencies for an application. > > E.g. if we have a dummy recipe with packages in DEPENDS, the packages > listed in DEPENDS will end in RRECOMMENDS. See process_depchains in > package.py for the pkg_adddeprrecs method, and not be installed in the > SDK. Using the variable introduced with this patch, will install > packages from RRECOMMENDS in the SDK, and we have a classic SDK with > all the packages from DEPENDS and ready to be used for the application.
But DEPENDS isn't meant to generate SDK dependencies. It's purpose is to pull things into sysroots in a plain yocto build. You need RDEPENDS for that if I'm not mistaken. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205284): https://lists.openembedded.org/g/openembedded-core/message/205284 Mute This Topic: https://lists.openembedded.org/mt/108685995/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-