diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 17:11:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-08 11:15:47 +0000 |
commit | 4d19594b8bdacde6d809d3f2a25cff7c5a42295e (patch) | |
tree | 21396fcd2514f14ac4db34e1db7ab5d85d76d822 /meta/lib/bblayers | |
parent | 4901c9d471cab99d52876842980222ce271b66e4 (diff) | |
download | poky-4d19594b8bdacde6d809d3f2a25cff7c5a42295e.tar.gz |
devtool/friends: Use LAYERSERIES_CORENAMES when generating LAYERSERIES_COMPAT entries4.2_M1
It seems some layers want to subvert the intent of LAYERSERIES_COMPAT
so bitbake is going to have to become stricter about the values there.
To work with this, use LAYERSERIES_CORENAMES to generate the entries in
LAYERSERIES_COMPAT instead of the current magic LAYERSERIES_COMPAT_core
value which may not continue to work.
The downside to this is when migating between releases, people would
need to update devtool workspace layer.conf files. I guess you could
argue this is a feature!
(From OE-Core rev: 96ff9baa8ead57504f40f362ed3a4aaa776d1b58)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/bblayers')
-rw-r--r-- | meta/lib/bblayers/create.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/bblayers/create.py b/meta/lib/bblayers/create.py index 0aeb5d5f7b..c8f3f1b370 100644 --- a/meta/lib/bblayers/create.py +++ b/meta/lib/bblayers/create.py | |||
@@ -53,7 +53,7 @@ class CreatePlugin(LayerPlugin): | |||
53 | shutil.copy(license_src, license_dst) | 53 | shutil.copy(license_src, license_dst) |
54 | 54 | ||
55 | # Get the compat value for core layer. | 55 | # Get the compat value for core layer. |
56 | compat = self.tinfoil.config_data.getVar('LAYERSERIES_COMPAT_core') or "" | 56 | compat = self.tinfoil.config_data.getVar('LAYERSERIES_CORENAMES') or "" |
57 | 57 | ||
58 | # Create the layer.conf from templates/layer.conf | 58 | # Create the layer.conf from templates/layer.conf |
59 | layerconf_template = read_template('layer.conf').format( | 59 | layerconf_template = read_template('layer.conf').format( |