summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-11-15 10:58:49 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-15 23:04:06 +0000
commiteaa188f3b9c68a81fa845de7dcdce68e01d0d2d3 (patch)
treea817de0329600a028b1c42cc4ab1ba500a5294e5 /bitbake
parent62f93ac42de38f58028542d2b6d44d5677ac557b (diff)
downloadopenembedded-core-eaa188f3b9c68a81fa845de7dcdce68e01d0d2d3.tar.gz
openembedded-core-eaa188f3b9c68a81fa845de7dcdce68e01d0d2d3.tar.bz2
openembedded-core-eaa188f3b9c68a81fa845de7dcdce68e01d0d2d3.zip
siggen.py: fix comparison around runtaskdeps
two dep lists should be sorted before the comparison, or else it just causes false-positive confusion. Also fix 'taskdeps' to 'runtaskdeps' when printing out the difference. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index ffbab396c1..5c53a86f3a 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -226,8 +226,8 @@ def compare_sigfiles(a, b):
#if removed:
# print "Dependency on Variable %s was removed (value %s)" % (dep, a_data['gendeps'][dep])
- if 'runtaskdeps' in a_data and 'runtaskdeps' in b_data and a_data['runtaskdeps'] != b_data['runtaskdeps']:
- print "Tasks this task depends on changed from %s to %s" % (a_data['taskdeps'], b_data['taskdeps'])
+ if 'runtaskdeps' in a_data and 'runtaskdeps' in b_data and sorted(a_data['runtaskdeps']) != sorted(b_data['runtaskdeps']):
+ print "Tasks this task depends on changed from %s to %s" % (sorted(a_data['runtaskdeps']), sorted(b_data['runtaskdeps']))
if 'runtaskhashes' in a_data:
for dep in a_data['runtaskhashes']: