Browse Source

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>
Peter Kjellerstedt 5 years ago
parent
commit
353f0f3c77
1 changed files with 3 additions and 1 deletions
  1. 3 1
      bin/bitbake-diffsigs

+ 3 - 1
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: