bitbake-whatchanged: avoid double do_ task name prefix
When used with --verbose, the heading for each task looks like === The verbose changes of example.do_do_compile: This should instead be === The verbose changes of example.do_compile: (From OE-Core rev: 628ad5e06d1136809d110a71148721095cb084dc) Signed-off-by: Olof Johansson <olof.johansson@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7881c02aa7
commit
5c35883efc
|
@ -190,7 +190,7 @@ def print_depchanged(d_new = None, d_old = None, verbose = False):
|
||||||
if sigdata_re.match(full_path_old) and sigdata_re.match(full_path_new):
|
if sigdata_re.match(full_path_old) and sigdata_re.match(full_path_new):
|
||||||
output = bb.siggen.compare_sigfiles(full_path_old, full_path_new)
|
output = bb.siggen.compare_sigfiles(full_path_old, full_path_new)
|
||||||
if output:
|
if output:
|
||||||
print("\n=== The verbose changes of %s.do_%s:" % (pn, task))
|
print("\n=== The verbose changes of %s.%s:" % (pn, task))
|
||||||
print('\n'.join(output))
|
print('\n'.join(output))
|
||||||
else:
|
else:
|
||||||
# Format the output, the format is:
|
# Format the output, the format is:
|
||||||
|
|
Loading…
Reference in New Issue