Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Preventing RRECOMMENDS from installing
Date: Tue, 10 Jan 2012 11:09:57 +0100	[thread overview]
Message-ID: <20120110100957.GA3445@jama.jama.net> (raw)
In-Reply-To: <20120110100306.GB3664@ad.chargestorm.se>

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      parent reply	other threads:[~2012-01-10 10:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10 10:03 Preventing RRECOMMENDS from installing Anders Darander
2012-01-10 10:08 ` Phil Blundell
2012-01-10 10:26   ` Paul Eggleton
2012-01-10 10:42     ` Anders Darander
2012-01-10 10:09 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120110100957.GA3445@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox