summaryrefslogtreecommitdiffstats
path: root/meta/lib
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:19 +0100
commitff282528be3efa5733c7ee61dba7105e267879e2 (patch)
treeac8f35e073478aecf9109b6e53d91ea1b437b0ac /meta/lib
parent1e1991ae65a96fd865921933f89e5e2e3477550d (diff)
downloadpoky-ff282528be3efa5733c7ee61dba7105e267879e2.tar.gz
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. (From OE-Core rev: f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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):
899 f.write('BBFILE_PATTERN_oeselftesttemplayer = "^${LAYERDIR}/"\n') 899 f.write('BBFILE_PATTERN_oeselftesttemplayer = "^${LAYERDIR}/"\n')
900 f.write('BBFILE_PRIORITY_oeselftesttemplayer = "999"\n') 900 f.write('BBFILE_PRIORITY_oeselftesttemplayer = "999"\n')
901 f.write('BBFILE_PATTERN_IGNORE_EMPTY_oeselftesttemplayer = "1"\n') 901 f.write('BBFILE_PATTERN_IGNORE_EMPTY_oeselftesttemplayer = "1"\n')
902 f.write('LAYERSERIES_COMPAT_oeselftesttemplayer = "${LAYERSERIES_COMPAT_core}"\n')
902 self.add_command_to_tearDown('bitbake-layers remove-layer %s || true' % templayerdir) 903 self.add_command_to_tearDown('bitbake-layers remove-layer %s || true' % templayerdir)
903 result = runCmd('bitbake-layers add-layer %s' % templayerdir, cwd=self.builddir) 904 result = runCmd('bitbake-layers add-layer %s' % templayerdir, cwd=self.builddir)
904 # Create the bbappend 905 # Create the bbappend