All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amarnath Valluri <amarnath.valluri@intel.com>
To: yocto@yoctoproject.org
Subject: Re: Enable a recipe/package only when other dependent recipe/package is part of image.
Date: Thu, 28 Apr 2016 15:30:59 +0300	[thread overview]
Message-ID: <57220283.5080908@intel.com> (raw)
In-Reply-To: <571E07C5.9020807@intel.com>

Hi Ross,
>
>>
>> An alternative would be to have some naming pattern for conf packages 
>> (-conf is reasonable) and invent a new image-feature called 
>> conf-packages that uses a glob to find all complementary packages 
>> matching the *-conf pattern.  This is how dev-pkgs, dbg-pkgs, 
>> doc-pkgs etc work.  I believe this is just a matter of 
>> setting COMPLEMENTARY_GLOB[conf-pkgs] = '*-conf' in your configuration.
> I will try this, thanks.
I tried this solution:
   COMPLEMENTARY_GLOB[conf-pkgs] = '*-conf'
   IMAGE_FEATURES_append = " conf-pkgs"

But this did not work for me. The obvious reason(i guess) is no matching 
packages build for '*-conf', though all configuration recipes provides 
'<base_component>-conf' packages, but the dependency is missing to build 
those packages :(.

My layer provides configuration packages for core components, such as 
'connman', 'openssh', 'dropbear', etc., which needs to/can be configured 
with our configuration framework. I would like to find a way to pick the 
corresponding config packages based on the image configuration, for 
example 'openssh-conf' or 'dropbear-conf' whichever the image is 
configured to use.

Thanks,
Amarnath
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



  reply	other threads:[~2016-04-28 12:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25  6:46 Enable a recipe/package only when other dependent recipe/package is part of image Amarnath Valluri
2016-04-25 11:46 ` Burton, Ross
2016-04-25 12:04   ` Amarnath Valluri
2016-04-28 12:30     ` Amarnath Valluri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-22 11:09 Valluri, Amarnath
2016-04-25  7:03 ` Amarnath Valluri

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=57220283.5080908@intel.com \
    --to=amarnath.valluri@intel.com \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.