[OE-core] Preventing RRECOMMENDS from installing

Phil Blundell philb at gnu.org
Tue Jan 10 10:08:24 UTC 2012


On Tue, 2012-01-10 at 11:03 +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"

If you mean you just want to stop them getting installed during rootfs
construction, you can achieve that by declaring them to be
BAD_RECOMMENDATIONS.

If you want to remove the actual Recommends: header then you probably
need to write an anonymous python function to bash RRECOMMENDS around
after parsing completes.

p.






More information about the Openembedded-core mailing list