From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>,
"Richard Purdie" <richard.purdie@linuxfoundation.org>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] meta*: Add LAYERSERIES_COMPAT and LAYERSERIES_CORENAMES markup to layer.conf
Date: Wed, 7 Jun 2017 17:08:20 +0000 [thread overview]
Message-ID: <85aeec20467b46b48d954e07ce32a10a@XBOX02.axis.com> (raw)
In-Reply-To: <1496854280.26945.140.camel@linux.intel.com>
> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> Leonardo Sandoval
> Sent: den 7 juni 2017 18:51
> To: Richard Purdie <richard.purdie@linuxfoundation.org>
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] meta*: Add LAYERSERIES_COMPAT and
> LAYERSERIES_CORENAMES markup to layer.conf
>
> On Wed, 2017-06-07 at 13:39 +0100, Richard Purdie wrote:
> > This means mismatched layers are more clearly identified to the user
> in
> > cases where compatibility has not been tested. This is perhaps not as
> > needed for the core repository (other than CORENAMES) but lets lead
> by
> > example.
> >
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> > meta-selftest/conf/layer.conf | 2 ++
> > meta-skeleton/conf/layer.conf | 2 ++
> > meta/conf/layer.conf | 2 ++
> > 3 files changed, 6 insertions(+)
> >
> > diff --git a/meta-selftest/conf/layer.conf b/meta-
> selftest/conf/layer.conf
> > index a847b78..2a71895 100644
> > --- a/meta-selftest/conf/layer.conf
> > +++ b/meta-selftest/conf/layer.conf
> > @@ -8,3 +8,5 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
> > BBFILE_COLLECTIONS += "selftest"
> > BBFILE_PATTERN_selftest = "^${LAYERDIR}/"
> > BBFILE_PRIORITY_selftest = "5"
> > +
> > +LAYERSERIES_COMPAT_selftest = "rocko"
> > diff --git a/meta-skeleton/conf/layer.conf b/meta-
> skeleton/conf/layer.conf
> > index aca1633..a15516a 100644
> > --- a/meta-skeleton/conf/layer.conf
> > +++ b/meta-skeleton/conf/layer.conf
> > @@ -13,3 +13,5 @@ BBFILE_PRIORITY_skeleton = "1"
> > LAYERVERSION_skeleton = "1"
> >
> > LAYERDEPENDS_skeleton = "core"
> > +
> > +LAYERSERIES_COMPAT_skeleton = "rocko"
> > diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
> > index fc16502..6d36aa1 100644
> > --- a/meta/conf/layer.conf
> > +++ b/meta/conf/layer.conf
> > @@ -11,6 +11,8 @@ BBFILE_PRIORITY_core = "5"
> > # cause compatibility issues with other layers
> > LAYERVERSION_core = "10"
> >
> > +LAYERSERIES_CORENAMES = "rocko"
> > +
> > BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core"
>
> at oe-core, Is there a reason not to set all LAYERSERIES_COMPAT_* =
> "${LAYERSERIES_CORENAMES}"? this would make it easier to bump the
> COMPAT set of variables.
That is probably a bad idea, especially if the aim here is to lead
by example, since otherwise you risk other layers to just blindly
copying that and then we have gained nothing...
> > # Set a variable to get to the top of the metadata location
> > --
> > 2.7.4
//Peter
prev parent reply other threads:[~2017-06-07 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-07 12:39 [PATCH] meta*: Add LAYERSERIES_COMPAT and LAYERSERIES_CORENAMES markup to layer.conf Richard Purdie
2017-06-07 16:51 ` Leonardo Sandoval
2017-06-07 17:08 ` Peter Kjellerstedt [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=85aeec20467b46b48d954e07ce32a10a@XBOX02.axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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