Yocto override syntax change.
Patrick Williams
patrick at stwcx.xyz
Sun Aug 8 11:02:30 AEST 2021
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210807/9061b64c/attachment.sig>
More information about the openbmc
mailing list