]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-whatchanged: avoid double do_ task name prefix
authorOlof Johansson <olof.johansson@axis.com>
Wed, 27 Jan 2016 10:14:32 +0000 (11:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2016 18:14:53 +0000 (18:14 +0000)
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:

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/bitbake-whatchanged

index 55cfe4b234ee54c1df80003bda0dbf4364f3ac30..af54d16f8b520418c71db57664eed8666e66afd1 100755 (executable)
@@ -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):
                 output = bb.siggen.compare_sigfiles(full_path_old, full_path_new)
                 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))
         else:
             # Format the output, the format is: