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:50 +0000 |
commit | 353f0f3c77c3cdd75c1be2a565234a5e53dba3ef (patch) | |
tree | d17c5560250d9c324b1a7c9e954682a1b6f1d2a0 | |
parent | 3635b829e4eb940ada2b52bfb5b5e5be93a3b0aa (diff) | |
download | bitbake-contrib-353f0f3c77c3cdd75c1be2a565234a5e53dba3ef.tar.gz |
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.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | bin/bitbake-diffsigs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/bitbake-diffsigs b/bin/bitbake-diffsigs index b0869e114..fa430bb3b 100755 --- a/bin/bitbake-diffsigs +++ b/bin/bitbake-diffsigs @@ -188,7 +188,9 @@ else: sys.exit(1) try: if not options.dump and options.sigdatafile1 and options.sigdatafile2: - output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, color=color) + with bb.tinfoil.Tinfoil() as tinfoil: + tinfoil.prepare(config_only=True) + output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, recursecb, color=color) elif options.sigdatafile1: output = bb.siggen.dump_sigfile(options.sigdatafile1) else: |