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-03 12:36:55 +0000 |
commit | 001f23a868e5e601195579213c6c64c3f922d099 (patch) | |
tree | e9be111d1b98b66fd5cdb70e601cc88d11fcf434 /bitbake/bin | |
parent | c83f272ac74062eaad727bd4a43db3407b881e5e (diff) | |
download | poky-001f23a868e5e601195579213c6c64c3f922d099.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: 353f0f3c77c3cdd75c1be2a565234a5e53dba3ef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-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: |