aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/devtool.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-07 22:32:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-07 22:33:09 +0100
commitf65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e (patch)
tree7fd94e316a60e32f2a485e8e33cdf476225742c3 /meta/lib/oeqa/selftest/cases/devtool.py
parent27568410ebb0d40db3428550704f35199df0e034 (diff)
downloadopenembedded-core-contrib-f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e.tar.gz
openembedded-core-contrib-f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e.tar.bz2
openembedded-core-contrib-f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e.zip
devtool: Ensure added layer sets LAYERSERIES_COMPAT
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated code from devtool needs to set this to avoid warnings which break various tests. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/devtool.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 67df581943..d5b6a46d49 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -899,6 +899,7 @@ class DevtoolTests(DevtoolBase):
f.write('BBFILE_PATTERN_oeselftesttemplayer = "^${LAYERDIR}/"\n')
f.write('BBFILE_PRIORITY_oeselftesttemplayer = "999"\n')
f.write('BBFILE_PATTERN_IGNORE_EMPTY_oeselftesttemplayer = "1"\n')
+ f.write('LAYERSERIES_COMPAT_oeselftesttemplayer = "${LAYERSERIES_COMPAT_core}"\n')
self.add_command_to_tearDown('bitbake-layers remove-layer %s || true' % templayerdir)
result = runCmd('bitbake-layers add-layer %s' % templayerdir, cwd=self.builddir)
# Create the bbappend