RSUGGEST with rpm
Hello Guys,
I am trying to leverage *RSUGGESTS* variable in one of my recipes for kind of weak rdependency on another recipe coming from another layer. But variable does not do what is expected. (basically the expected binaries from another recipe are not in the final image)
Doc says
is it the case? Does variable *RSUGGESTS* work together with *rpm* ?
Thank you in advance,
Lukas Dibelka
RSUGGESTS isn't tested, so how package managers handle it when they see it (assuming it is written into packages) is undetermined. RRECOMMENDS is the better supported option.
Alex
Quoted 27 lines · lukas.dibelka via lists.yoctoproject.org
Hello Guys,
I am trying to leverage *RSUGGESTS *variable in one of my recipes for kind of weak rdependency on another recipe coming from another layer. But variable does not do what is expected.
(basically the expected binaries from another recipe are not in the final image)
Doc saysis it the case? Does variable *RSUGGESTS *work together with *rpm*?
Thank you in advance,
Lukas Dibelka-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#63425):
https://lists.yoctoproject.org/g/yocto/message/63425
Mute This Topic: https://lists.yoctoproject.org/mt/106996552/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 6 lines · Alexander Kanavin
ested, so how package managers handle it when they see it (assuming it is written into packages) is undetermined. RRECOMMENDS is the better supported option.
Thanks Alex for the speed of light fast answer. I have already found solution leveraging BBFILES_DYNAMIC
in the bbappend I am adding the needed depencency as RDEPENDS.
With RRECOMMENDS we are failing on
when CI builds our layer only (layer alone kind of build)
Lukas
No problem, I think this kind of thing is better controlled with a PACKAGECONFIG/DISTRO_FEATURE, rather than presence or absence of layers. That way everything about the recipe is local to the recipe file and not spread all over the place. And you can disable/enable it independently of whether the layer is present.
Alex
Quoted 22 lines · lukas.dibelka via Lists.Yoctoproject.Org
On Tue, Jul 2, 2024 at 11:01 AM, Alexander Kanavin wrote:
ested, so how package managers handle it when they see it (assuming it is written into packages) is undetermined. RRECOMMENDS is the better supported option.
Thanks Alex for the speed of light fast answer. I have already found solution leveraging
BBFILES_DYNAMICin the bbappend I am adding the needed depencency as RDEPENDS.
With RRECOMMENDS we are failing on
when CI builds our layer only (layer alone kind of build)
Lukas
Well, you are absolutely right. We were passionate for RSUGGESTS so much that forgot one of the main yocto concepts -> distro features!
Thank you!
Lukas