[OE-core] Preventing RRECOMMENDS from installing

Martin Jansa martin.jansa at gmail.com
Tue Jan 10 10:09:57 UTC 2012


On Tue, Jan 10, 2012 at 11:03:06AM +0100, Anders Darander wrote:
> 
> Is there a simple way, in a bbappend-file to prevent packages in an
> RRECOMMENDS from being installed? E.g. if package foo has:
> RRECOMMENDS_${PN} += "bar"
> 
> I'd reluctant to rewrite RRECOMMENDS_${PN} completely, as foo sets
> RRECOMMENDS using += (or =+), thus I'd like not to remove other packages
> from RRECOMMENDS. 
> 
> If possible, I'd like to avoid patching the foo.bb-file, and just have a
> foo.bbappend in my own layer.
> 
> I've unsuccesfully tried different variants using oe_filter_out, but
> they don't seems to prevent bar from being installed.
> 
> Thanks in advance for any hints!

Cannot you use
BAD_RECOMMENDATIONS += "bar"
for your image/distro?

It was broken for some time, but iirc should be fixed now.

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120110/823588a9/attachment-0002.sig>


More information about the Openembedded-core mailing list