diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2018-12-28 18:30:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 21:41:06 +0000 |
commit | 8bbd177bb817413bfa238e9e36c80b724e69c4e9 (patch) | |
tree | def8698b7b00dfa1350d5caeac4a58d3070d53d7 | |
parent | 2ef46c44f5b0a6e2c3dfef13bdd5b75bc589a269 (diff) | |
download | poky-8bbd177bb817413bfa238e9e36c80b724e69c4e9.tar.gz |
bitbake: bitbake-diffsigs: Support recursive deps with signature files
Follow dependent hash changes recursively also when specifying two
signature files explicitly. Previously this was only done when using the
--task option.
(Bitbake rev: a5f5ec9e09e2b2891cade97d0568284fc064cb26)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | bitbake/bin/bitbake-diffsigs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs index b0869e1143..fa430bb3b3 100755 --- a/bitbake/bin/bitbake-diffsigs +++ b/bitbake/bin/bitbake-diffsigs | |||
@@ -188,7 +188,9 @@ else: | |||
188 | sys.exit(1) | 188 | sys.exit(1) |
189 | try: | 189 | try: |
190 | if not options.dump and options.sigdatafile1 and options.sigdatafile2: | 190 | if not options.dump and options.sigdatafile1 and options.sigdatafile2: |
191 | output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, color=color) | 191 | with bb.tinfoil.Tinfoil() as tinfoil: |
192 | tinfoil.prepare(config_only=True) | ||
193 | output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, recursecb, color=color) | ||
192 | elif options.sigdatafile1: | 194 | elif options.sigdatafile1: |
193 | output = bb.siggen.dump_sigfile(options.sigdatafile1) | 195 | output = bb.siggen.dump_sigfile(options.sigdatafile1) |
194 | else: | 196 | else: |