[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5516/8267] bitbake: bitbake-diffsigs: fix -t picking wrong files to compare
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5516/8267] bitbake: bitbake-diffsigs: fix -t picking wrong files to compare
- Date: Sun, 17 Dec 2017 03:32:59 +0000 (UTC)
commit ef05969dc6e050d714273268cc0ec191022ffd26
Author: Paul Eggleton <paul eggleton linux intel com>
Date: Fri Apr 7 09:52:01 2017 +1200
bitbake: bitbake-diffsigs: fix -t picking wrong files to compare
We weren't picking the right files to compare here - according to the
order in which the list is sorted (by mtime), we need to be taking the
last two items and not the first two.
(Bitbake rev: 99f49b56115b1f8d1a0a0b911da62ffd1f997b5f)
Signed-off-by: Paul Eggleton <paul eggleton linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
bitbake/bin/bitbake-diffsigs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index 1e3de09..b2ebe91 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -84,9 +84,9 @@ def find_compare_task(bbhandler, pn, taskname):
return recout
# Recurse into signature comparison
- logger.debug("Signature file (previous): %s" % latestfiles[0])
- logger.debug("Signature file (latest): %s" % latestfiles[1])
- output = bb.siggen.compare_sigfiles(latestfiles[0], latestfiles[1], recursecb)
+ logger.debug("Signature file (previous): %s" % latestfiles[-2])
+ logger.debug("Signature file (latest): %s" % latestfiles[-1])
+ output = bb.siggen.compare_sigfiles(latestfiles[-2], latestfiles[-1], recursecb)
if output:
print('\n'.join(output))
sys.exit(0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]