summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/commands.py
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 /meta/lib/oeqa/utils/commands.py
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 'meta/lib/oeqa/utils/commands.py')
-rw-r--r--meta/lib/oeqa/utils/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index cad0bea0be..0d9cf23fe4 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
@@ -285,7 +285,7 @@ def create_temp_layer(templayerdir, templayername, priority=999, recipepathspec=
285 f.write('BBFILE_PATTERN_%s = "^${LAYERDIR}/"\n' % templayername) 285 f.write('BBFILE_PATTERN_%s = "^${LAYERDIR}/"\n' % templayername)
286 f.write('BBFILE_PRIORITY_%s = "%d"\n' % (templayername, priority)) 286 f.write('BBFILE_PRIORITY_%s = "%d"\n' % (templayername, priority))
287 f.write('BBFILE_PATTERN_IGNORE_EMPTY_%s = "1"\n' % templayername) 287 f.write('BBFILE_PATTERN_IGNORE_EMPTY_%s = "1"\n' % templayername)
288 288 f.write('LAYERSERIES_COMPAT_%s = "${LAYERSERIES_COMPAT_core}"\n' % templayername)
289 289
290@contextlib.contextmanager 290@contextlib.contextmanager
291def runqemu(pn, ssh=True, runqemuparams='', image_fstype=None, launch_cmd=None, qemuparams=None, overrides={}, discard_writes=True): 291def runqemu(pn, ssh=True, runqemuparams='', image_fstype=None, launch_cmd=None, qemuparams=None, overrides={}, discard_writes=True):