aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-04-24 18:34:15 +0200
committerArmin Kuster <akuster808@gmail.com>2019-08-15 21:20:23 -0700
commitf965ecbf558b6db1959e4ba8e599d65a5c8022b2 (patch)
tree4360237907e6a5847ba1e79ce7a9b0c53f72389e
parentd3d3f443039b03f1200a14bfe99f985592632018 (diff)
downloadopenembedded-core-contrib-f965ecbf558b6db1959e4ba8e599d65a5c8022b2.tar.gz
openembedded-core-contrib-f965ecbf558b6db1959e4ba8e599d65a5c8022b2.tar.bz2
openembedded-core-contrib-f965ecbf558b6db1959e4ba8e599d65a5c8022b2.zip
buildhistory: call a dependency parser only on actual dependency lists
Previously it was also called on filelists and possibly other items which broke the parser. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/lib/oe/buildhistory_analysis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py
index ad7fceb8bbc..d3cde4f6509 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -127,7 +127,7 @@ class ChangeRecord:
removed = list(set(aitems) - set(bitems))
added = list(set(bitems) - set(aitems))
- if not removed and not added:
+ if not removed and not added and self.fieldname in ['RPROVIDES', 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RREPLACES', 'RCONFLICTS']:
depvera = bb.utils.explode_dep_versions2(self.oldvalue, sort=False)
depverb = bb.utils.explode_dep_versions2(self.newvalue, sort=False)
for i, j in zip(depvera.items(), depverb.items()):