]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: Ensure added layer sets LAYERSERIES_COMPAT
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Apr 2018 21:32:13 +0000 (22:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Apr 2018 21:33:09 +0000 (22:33 +0100)
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>
meta/lib/oeqa/selftest/cases/devtool.py

index 67df5819430fcaa7ec2b7c7f7784683001868911..d5b6a46d4912c0a1cd3a418ad3eda2e7c4e4caf5 100644 (file)
@@ -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