diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-19 14:40:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-20 23:24:26 +0100 |
commit | 6b26715fd7f660bf0ec8fad5bda6d866854fdc5f (patch) | |
tree | 3c566ed84e0b6a1c2757f81042308b419b7da105 /meta/lib/oeqa/selftest/cases/kerneldevelopment.py | |
parent | 42921e63a4969bde69d608afd497071341423d13 (diff) | |
download | poky-6b26715fd7f660bf0ec8fad5bda6d866854fdc5f.tar.gz |
insane: Improve patch-status layer filtering
Now that we have layer overrides, we can easily enable patch-status in
ERROR_QA without the hardcoded code making it easier for other layers
to opt into the checks.
(From OE-Core rev: 61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/kerneldevelopment.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/kerneldevelopment.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/kerneldevelopment.py b/meta/lib/oeqa/selftest/cases/kerneldevelopment.py index 4325f38598..b1f78a0cd1 100644 --- a/meta/lib/oeqa/selftest/cases/kerneldevelopment.py +++ b/meta/lib/oeqa/selftest/cases/kerneldevelopment.py | |||
@@ -64,6 +64,7 @@ class KernelDev(OESelftestTestCase): | |||
64 | recipe_append = os.path.join(self.recipeskernel_dir, 'linux-yocto_%.bbappend') | 64 | recipe_append = os.path.join(self.recipeskernel_dir, 'linux-yocto_%.bbappend') |
65 | with open(recipe_append, 'w+') as fh: | 65 | with open(recipe_append, 'w+') as fh: |
66 | fh.write('SRC_URI += "file://%s"\n' % patch_name) | 66 | fh.write('SRC_URI += "file://%s"\n' % patch_name) |
67 | fh.write('ERROR_QA:remove:pn-linux-yocto = "patch-status"\n') | ||
67 | fh.write('FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"') | 68 | fh.write('FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"') |
68 | 69 | ||
69 | runCmd('bitbake virtual/kernel -c clean') | 70 | runCmd('bitbake virtual/kernel -c clean') |