From: Darren Hart <dvhart@linux.intel.com>
To: Saul Wold <sgw@linux.intel.com>,
'Patches and discussions about the oe-core layer'
<openembedded-core@lists.openembedded.org>
Subject: Re: Creating a machine specific recipe for config file
Date: Tue, 27 May 2014 13:39:44 -0700 [thread overview]
Message-ID: <CFAA456E.93E2C%dvhart@linux.intel.com> (raw)
In-Reply-To: <5384DAE6.1030407@linux.intel.com>
On 5/27/14, 11:35, "Saul Wold" <sgw@linux.intel.com> wrote:
>
>Folks,
>
>We have had an open enhancement in the form of bugzilla #4011
>(https://bugzilla.yoctoproject.org/show_bug.cgi?id=4011).
>
>I am currently working on this and want to get some feedback regarding
>the design, the below list of config files would move to one recipe in
>recipes-bsp, which will reduce the number of .bbappends that a BSP
>writer might need to create in order to customize the configuration of
>the BSP.
>
>Overall, my proposal is to move all the BSP related config files into
>one recipe directory tree. Create a recipe that can have a package or
>packages that are RRECOMMENDS on.
>
>We have 2 choices on the packaging side:
>
>1) 1 Package to rule them all (conffiles)
> - RPROVIDES PN-conf
> - conffile.bbclass
> RRECOMMENDS = "${PN}-conf"
> # Can be overriden in recipe
> CONFFILES_conffiles ?= "${PN}.conf"
> - Will provide files not needed on final image, small
> amount of extra space used.
>
>2) 1 package / conf file (${PN}-conf)
> - exactly what's needed will be installed
> - no needs for additional RPROVIDES
> - More packaging overhead, package data might be bigger than actual
>contents!
The status quo would suggest that Option 2 is more consistent with what
people expect of the build system. However, if we were to do this, one
might question why we should bother at all and not just leave it in the
hands of MACHINE-specific overrides for the packages we're configuring, as
is done today with alsa-state/asound.conf (for example).
What was your idea here - to replace the MACHINE-specific config for these
packages - or to augment it with an optional mega-config package?
I think it would help to provide a bit of background/motivation regarding
what exactly we're trying to accomplish with this. That would help me form
an opinion on 1 vs 2 anyway.
--
Darren Hart Open Source Technology Center
darren.hart@intel.com Intel Corporation
next prev parent reply other threads:[~2014-05-27 20:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 18:35 Creating a machine specific recipe for config file Saul Wold
2014-05-27 20:07 ` Stephen Arnold
2014-05-27 20:39 ` Darren Hart [this message]
2014-05-27 20:44 ` Christopher Larson
2014-05-27 23:48 ` Stephen Arnold
2014-05-28 0:04 ` Mark Hatle
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=CFAA456E.93E2C%dvhart@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw@linux.intel.com \
/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