summaryrefslogtreecommitdiffstats
path: root/scripts/devtool
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:44:50 +0100
commit1e1991ae65a96fd865921933f89e5e2e3477550d (patch)
tree29a984426763ae5c7dd71422140b33de9f4f0815 /scripts/devtool
parent7b0074b79b75fad0cd511fded50aafc60c2dfec5 (diff)
downloadpoky-1e1991ae65a96fd865921933f89e5e2e3477550d.tar.gz
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. (From OE-Core rev: 27568410ebb0d40db3428550704f35199df0e034) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/devtool')
-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):
165 f.write('BBFILE_PATTERN_workspacelayer = "^$' + '{LAYERDIR}/"\n') 165 f.write('BBFILE_PATTERN_workspacelayer = "^$' + '{LAYERDIR}/"\n')
166 f.write('BBFILE_PATTERN_IGNORE_EMPTY_workspacelayer = "1"\n') 166 f.write('BBFILE_PATTERN_IGNORE_EMPTY_workspacelayer = "1"\n')
167 f.write('BBFILE_PRIORITY_workspacelayer = "99"\n') 167 f.write('BBFILE_PRIORITY_workspacelayer = "99"\n')
168 f.write('LAYERSERIES_COMPAT_workspacelayer = "${LAYERSERIES_COMPAT_core}"\n')
168 # Add a README file 169 # Add a README file
169 with open(os.path.join(workspacedir, 'README'), 'w') as f: 170 with open(os.path.join(workspacedir, 'README'), 'w') as f:
170 f.write('This layer was created by the OpenEmbedded devtool utility in order to\n') 171 f.write('This layer was created by the OpenEmbedded devtool utility in order to\n')