summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-04-17 19:01:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-23 23:30:45 +0100
commit5c5a0938de4db952248e8ed6c73302245d644eec (patch)
treeabdd1a1be4e85016e6a247be15e52db933aa6dca /bitbake
parent02c42d49d107929b0691c783ef9feb89fab04da9 (diff)
downloadpoky-5c5a0938de4db952248e8ed6c73302245d644eec.tar.gz
bitbake: bitbake-diffsigs: Use 4 spaces as indent for recursecb
It used 2 spaces as indent which wasn't clear enough, and might cause confusions, people might think it was in wrong format. Fixed: $ bitbake bc-native -ccleansstate -Snone $ bitbake bc-native -ccleansstate -Snone $ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.* * Before: Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo] Taint (by forced/invalidated task) changed from [foo] Taint (by forced/invalidated task) changed from [foo] * Now Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo] Taint (by forced/invalidated task) changed from [foo] Taint (by forced/invalidated task) changed from [foo] (Bitbake rev: 5127a8d8e6d53f5f43a6ada7fd09b6b0c24ae989) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake-diffsigs2
-rw-r--r--bitbake/lib/bb/runqueue.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index fa430bb3b3..73229b7735 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -105,7 +105,7 @@ def recursecb(key, hash1, hash2):
105 out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color) 105 out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color)
106 for change in out2: 106 for change in out2:
107 for line in change.splitlines(): 107 for line in change.splitlines():
108 recout.append(' ' + line) 108 recout.append(' ' + line)
109 109
110 return recout 110 return recout
111 111
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 329cda33a4..524c85d7d3 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1667,7 +1667,7 @@ class RunQueue:
1667 recout = [] 1667 recout = []
1668 if len(hashfiles) == 2: 1668 if len(hashfiles) == 2:
1669 out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb) 1669 out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb)
1670 recout.extend(list(' ' + l for l in out2)) 1670 recout.extend(list(' ' + l for l in out2))
1671 else: 1671 else:
1672 recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2)) 1672 recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
1673 1673