devtool: ignore patch-fuzz errors when extracting source
PATCH 1/1 devtool: ignore patch-fuzz errors when extracting source
So that patch fuzz issues can actually be fixed, as extracting source with 'devtool modify' is the first step for that.
--- scripts/lib/devtool/standard.py | 1 + 1 file changed, 1 insertion(+)
scripts/lib/devtool/standard.py +1 -0
@@ -567,6 +567,7 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works logger.debug('writing append file %s' % appendfile) with open(appendfile, 'a') as f: f.write('###--- _extract_source\n') + f.write('ERROR_QA:remove = "patch-fuzz"\n') f.write('DEVTOOL_TEMPDIR = "%s"\n' % tempdir) f.write('DEVTOOL_DEVBRANCH = "%s"\n' % devbranch) if not is_kernel_yocto:
Signature · 1 line
2.30.2
Quoted 14 lines · Alexander Kanavin
So that patch fuzz issues can actually be fixed, as extracting source with 'devtool modify' is the first step for that.
Signed-off-by Alexander Kanavin <[email protected]>--- scripts/lib/devtool/standard.py | 1 + 1 file changed, 1 insertion(+)scripts/lib/devtool/standard.py +0
-0
scripts/lib/devtool/standard.py def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works · line 570
Quoted 4 lines
scripts/lib/devtool/standard.py +1
-0@@ -567,6 +567,7 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works logger.debug('writing append file %s' % appendfile) with open(appendfile, 'a') as f: f.write('###--- _extract_source\n') + f.write('ERROR_QA:remove = "patch-fuzz"\n')
should it append it to WARN_QA so that the warning is still shown to user while this .bbappend is acive?
Quoted 16 lines
scripts/lib/devtool/standard.py +0
-0f.write('DEVTOOL_TEMPDIR = "%s"\n' % tempdir) f.write('DEVTOOL_DEVBRANCH = "%s"\n' % devbranch) if not is_kernel_yocto:Signature · 11 lines
2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#177450): https://lists.openembedded.org/g/openembedded-core/message/177450 Mute This Topic: https://lists.openembedded.org/mt/97092277/3617156 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Quoted 8 lines · Martin Jansa
scripts/lib/devtool/standard.py def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works · line 570
Quoted 5 lines
scripts/lib/devtool/standard.py +1
-0@@ -567,6 +567,7 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works logger.debug('writing append file %s' % appendfile) with open(appendfile, 'a') as f: f.write('###--- _extract_source\n') + f.write('ERROR_QA:remove = "patch-fuzz"\n')should it append it to
WARN_QAso that the warning is still shown to user while this .bbappend is acive?
I don't think so, as patch-fuzz is a hard error now, so it's visible just prior to running devtool. The warning would only happen once when executing 'devtool modify' at the beginning to extract the source into the workspace, and would just say the same thing as the error.
Alex