diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-10-04 11:13:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:34 +0100 |
commit | 23ca971f6a4b4dae93ded58c7a48e8bd9a3f2a81 (patch) | |
tree | 21c2f1f44736a88178ef7237c91148cf128e6a02 /bitbake | |
parent | a0c9bdc3e1bf81aa0a909ca35baca4e921a0ab41 (diff) | |
download | tizen-distro-23ca971f6a4b4dae93ded58c7a48e8bd9a3f2a81.tar.gz tizen-distro-23ca971f6a4b4dae93ded58c7a48e8bd9a3f2a81.tar.bz2 tizen-distro-23ca971f6a4b4dae93ded58c7a48e8bd9a3f2a81.zip |
bitbake: bitbake-diffsigs: handle if task name is specified without do_ prefix
Adjust the task name automatically if the -t option is specified with
a task name that doesn't start with do_ (e.g. "configure" instead of
"do_configure").
(Bitbake rev: d182cbc63745303ef2dc9fa2cbbf5d87a68e0b52)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bitbake-diffsigs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs index 3ce70dabd9..79f1d6a438 100755 --- a/bitbake/bin/bitbake-diffsigs +++ b/bitbake/bin/bitbake-diffsigs @@ -39,6 +39,9 @@ def find_compare_task(bbhandler, pn, taskname): logger.error('Metadata does not support finding signature data files') sys.exit(1) + if not taskname.startswith('do_'): + taskname = 'do_%s' % taskname + filedates = bb.siggen.find_siginfo(pn, taskname, None, bbhandler.config_data) latestfiles = sorted(filedates.keys(), key=lambda f: filedates[f])[-2:] if not latestfiles: |