summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-07-27 16:36:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-30 09:16:52 +0100
commit2c7a4a80215a64934d64c3fe16b139925fed2a86 (patch)
treedb3449dd32afcdd9bf0daa51cf73a9394c333eaf /scripts/lib/devtool/standard.py
parente8c833798986b99bcc54241e23e4ecf522b823a1 (diff)
downloadpoky-2c7a4a80215a64934d64c3fe16b139925fed2a86.tar.gz
devtool: do not run recipe_qa task when extracting source
The immediate reason is that the task is sstate enabled, and due to the way devtool sets up source extraction this causes bogus values to appear in tmp/sstate-control/index-* files. Also, recipe_qa may contain hard failures in the future, and it would be counterproductive for the failures to prevent devtool workflows (which may perhaps be about fixing the failure). An alternative would have been to not insert recipe_qa task before fetch task, but that would greatly delay the checks in larger bitbake builds, and it's better to run them as early as possible. (From OE-Core rev: 6f9db3f8de3dca9b0c87382561c70857d5b39e0f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 86ca77f718..88a6ecd421 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -567,6 +567,8 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works
567 logger.debug('writing append file %s' % appendfile) 567 logger.debug('writing append file %s' % appendfile)
568 with open(appendfile, 'a') as f: 568 with open(appendfile, 'a') as f:
569 f.write('###--- _extract_source\n') 569 f.write('###--- _extract_source\n')
570 f.write('deltask do_recipe_qa\n')
571 f.write('deltask do_recipe_qa_setscene\n')
570 f.write('ERROR_QA:remove = "patch-fuzz"\n') 572 f.write('ERROR_QA:remove = "patch-fuzz"\n')
571 f.write('DEVTOOL_TEMPDIR = "%s"\n' % tempdir) 573 f.write('DEVTOOL_TEMPDIR = "%s"\n' % tempdir)
572 f.write('DEVTOOL_DEVBRANCH = "%s"\n' % devbranch) 574 f.write('DEVTOOL_DEVBRANCH = "%s"\n' % devbranch)