openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Williams <patrick@stwcx.xyz>
To: OpenBMC List <openbmc@lists.ozlabs.org>
Subject: Re: Yocto override syntax change.
Date: Sat, 7 Aug 2021 20:02:30 -0500	[thread overview]
Message-ID: <YQ8tJueJyk+fXr39@heinlein> (raw)
In-Reply-To: <YQ1FD5q8KbhbXVBK@heinlein>

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

On Fri, Aug 06, 2021 at 09:19:59AM -0500, Patrick Williams wrote:

A few more discoveries.

1. LAYERSERIES_COMPAT and BBFILE_PATTERN syntax still has an underscore.

    LAYERSERIES_COMPAT_phosphor-layer <-- correct
    LAYERSERIES_COMPAT:phosphor-layer <-- incorrect.

    If you were a little too aggressive at making this change (like me) you can
    fix it with:

    $ git grep -l "LAYERSERIES_COMPAT:" meta-facebook | xargs sed -i 's/LAYERSERIES_COMPAT:/LAYERSERIES_COMPAT_/'
    $ git grep -l "BBFILE_PATTERN:" meta-facebook | xargs sed -i 's/BBFILE_PATTERN:/BBFILE_PATTERN_/'

2. local.conf.sample has changed slightly and CONF_VERSION needs to be
   incremented.  The suggestion from upstream is to use your favorite
   diff-editor to compare the two such as:

   $ vimdiff ./poky/meta-poky/conf/local.conf.sample meta-facebook/meta-tiogapass/conf/local.conf.sample

   Except that we don't have this file updated until we do the subtree pull, so
   in the meantime you could compare against this version (use wget/curl):

   http://git.yoctoproject.org/cgit/cgit.cgi/poky/plain/meta-poky/conf/local.conf.sample

3. LAYERSERIES_COMPAT will need "honister" added since that is the next Yocto
   release after hardknott.

   Potential fixup:

   $ git grep -l "LAYERSERIES_COMPAT_" meta-facebook | xargs sed -i 's/hardknott"/hardknott honister"/'

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-08-08  1:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 14:19 Yocto override syntax change Patrick Williams
2021-08-08  1:02 ` Patrick Williams [this message]
2021-08-10 22:23   ` Patrick Williams
2021-08-12 12:41 ` Patrick Williams
2021-08-13  3:19   ` [External] " Lei Yu
2021-10-13  2:58   ` Patrick Williams

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=YQ8tJueJyk+fXr39@heinlein \
    --to=patrick@stwcx.xyz \
    --cc=openbmc@lists.ozlabs.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;
as well as URLs for NNTP newsgroup(s).