aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-07 11:32:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-07 11:43:36 +0100
commit27568410ebb0d40db3428550704f35199df0e034 (patch)
tree99adf2ecae64641d18a162d7a90cae3bea33cac4 /scripts
parent720249de1ebb08499b7a9ac0d1ece955cf87f8b2 (diff)
downloadopenembedded-core-27568410ebb0d40db3428550704f35199df0e034.tar.gz
openembedded-core-27568410ebb0d40db3428550704f35199df0e034.tar.bz2
openembedded-core-27568410ebb0d40db3428550704f35199df0e034.zip
devtool/oeqa: Ensure added layers set LAYERSERIES_COMPAT
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated code from devtool/oeqa needs to set this to avoid warnings which break various tests. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/devtool1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/devtool b/scripts/devtool
index b4bfbb8329..d681a1929a 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -165,6 +165,7 @@ def _create_workspace(workspacedir, config, basepath):
f.write('BBFILE_PATTERN_workspacelayer = "^$' + '{LAYERDIR}/"\n')
f.write('BBFILE_PATTERN_IGNORE_EMPTY_workspacelayer = "1"\n')
f.write('BBFILE_PRIORITY_workspacelayer = "99"\n')
+ f.write('LAYERSERIES_COMPAT_workspacelayer = "${LAYERSERIES_COMPAT_core}"\n')
# Add a README file
with open(os.path.join(workspacedir, 'README'), 'w') as f:
f.write('This layer was created by the OpenEmbedded devtool utility in order to\n')