[bitbake-devel] [PATCH 2/2] bitbake-diffsigs: Support recursive deps with signature files

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri Dec 28 17:30:40 UTC 2018


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 at axis.com>
---
 bitbake/bin/bitbake-diffsigs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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:
         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:
-- 
2.12.0



More information about the bitbake-devel mailing list