Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Gabriel Barbu <gabriel.barbu@enea.com>
To: Josep Puigdemont <josep.puigdemont@enea.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: How to add a distro feature from an image recipe?
Date: Thu, 17 Apr 2014 15:37:49 +0300	[thread overview]
Message-ID: <534FCB1D.2050000@enea.com> (raw)
In-Reply-To: <20140417113554.GE1852@iapetus.enea.se>

On 4/17/2014 2:35 PM, Josep Puigdemont wrote:
> On Thu, Apr 17, 2014 at 11:27:16AM +0000, Gabriel Barbu wrote:
>> Hi,
>>
>>
>>
>> Is there a specific mechanism to add a distro feature from an image recipe?
>>
>> DISTRO_FEATURES_append does not seem to work from an image-*.bb or from a
>> packagegroup-*.bb.
>>
>>
>> Or, if not, what would be the best way to achieve this?
>>
>> The need is that I have a number of images and only want to add a certain
>> distro feature (ptest) to just one or two of them (some test images).
>
> Couldn't that be achieved by just adding "ptest-pkgs" to IMAGE_FEATURES in the
> image recipe? or "ptest-pkgs" to EXTRA_IMAGE_FEATURES in your local.conf?
>
> /Josep
>
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Gabriel
>>
>>
>>
>

No, unfortunately not; ptest-pkgs are not sufficient for control of this 
feature. If you have ptest in DISTRO_FEATURES, the ptests are still 
being built for your image.

It would be possible to disable the feature from local.conf though, but 
I would have liked to avoid particularizing this file per image.

Thanks,

Gabriel



  reply	other threads:[~2014-04-17 12:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 11:27 How to add a distro feature from an image recipe? Gabriel Barbu
2014-04-17 11:35 ` Josep Puigdemont
2014-04-17 12:37   ` Gabriel Barbu [this message]
2014-04-17 13:42 ` Paul Eggleton
2014-04-17 14:24   ` Gabriel Barbu
2014-04-17 14:28     ` Paul Eggleton
2014-04-17 14:48       ` Gabriel Barbu
2014-04-17 14:52         ` Paul Eggleton
2014-04-17 15:21           ` Gabriel Barbu

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=534FCB1D.2050000@enea.com \
    --to=gabriel.barbu@enea.com \
    --cc=josep.puigdemont@enea.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