All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "David Nyström" <david.nystrom@enea.com>
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCHv3 13/14] Upgraded to libvirt 1.0.0, and added a more detailed packageconfig
Date: Thu, 06 Dec 2012 15:16:19 +0000	[thread overview]
Message-ID: <1354806979.12928.2.camel@ted> (raw)
In-Reply-To: <50C0B185.9050807@enea.com>

On Thu, 2012-12-06 at 15:53 +0100, David Nyström wrote:
> > Another random questions. I've got some other libvirt recipes kicking
> > around, and
> > is it generally frowned upon to trigger options via DISTRO_FEATURES vs
> > PACKAGECONFIG ? I'm thinking of bigger scale features like selinux, which
> > are
> > decided on a distro basis.
> >
> > Cheers,
> >
> > Bruce
> 
> Thats a good question, CC:ing RP who added the feature in 1.3.
> 
> Don't know whats generally frowned upon by the community, I see 
> PACKAGECONFIG as a more fine granular way of doing this.
> Alot of packages in oe-core do a R/DEPENDS split with:
> 
> DEPENDS += ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 
> libxtst libice libsm libxcb gtk+', '', d)}"
> 
> I see no reason for why DISTRO_FEATURES can't select a PACKAGECONFIG 
> setup instead. I'm guessing that's why it was added. i.e.
> 
> PACKAGECONFIG += ${@base_contains('DISTRO_FEATURES', 'kvm', 'qemu yajl', 
> '', d)}"

Its ok to select PACKAGECONFIG based on DISTRO_FEATURES and some recipes
do this already in OE-Core. Lets try and keep a relatively trim set of
things we do at the DISTRO_FEATURE level though (and we should better
document the options available).

I'm a big fan of having sensible defaults and only exposing choices that
have significant real world value.

Cheers,

Richard






  parent reply	other threads:[~2012-12-06 15:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 14:03 [PATCHv3 00/14] Addition of meta-cloud david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 01/14] Added protobuf-c criu dependency david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 02/14] Added protobuf " david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 03/14] Added CRIU recipe david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 04/14] Added lxc recipe david.c.nystrom
2012-12-06 14:15   ` Bruce Ashfield
2012-12-06 14:20     ` David Nyström
2012-12-06 14:03 ` [PATCHv3 05/14] Added netcf recipe, libvirt dependency david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 06/14] Added openbsd-netcat " david.c.nystrom
2012-12-06 14:20   ` Bruce Ashfield
2012-12-06 14:23     ` David Nyström
2012-12-06 14:40       ` Bruce Ashfield
2012-12-06 14:03 ` [PATCHv3 07/14] Added openflow recipe david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 08/14] Added openvswitch recipe david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 09/14] Added .gitignore file david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 10/14] Changed David Nyströms email in README david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 11/14] Added template cloud-* images david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 12/14] Added some details in README, and made the description common david.c.nystrom
2012-12-06 14:03 ` [PATCHv3 13/14] Upgraded to libvirt 1.0.0, and added a more detailed packageconfig david.c.nystrom
2012-12-06 14:26   ` Bruce Ashfield
2012-12-06 14:53     ` David Nyström
2012-12-06 15:14       ` Saul Wold
2012-12-06 16:11         ` David Nyström
2012-12-06 15:16       ` Richard Purdie [this message]
2012-12-06 14:03 ` [PATCHv3 14/14] Added kernel configuration for LxC and in kernel OpenvSwitch david.c.nystrom

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=1354806979.12928.2.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=david.nystrom@enea.com \
    --cc=meta-virtualization@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.