aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2018-12-28 18:30:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-08 21:40:56 +0000
commita5f5ec9e09e2b2891cade97d0568284fc064cb26 (patch)
tree508d1f1b6923a4dfa6ff1b0aa517db49628b1101
parente7130f8bd86843c0b780b2ecabd297cd35ddcbe3 (diff)
downloadbitbake-contrib-a5f5ec9e09e2b2891cade97d0568284fc064cb26.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-xbin/bitbake-diffsigs4
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: