Browse Source

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: a5f5ec9e09e2b2891cade97d0568284fc064cb26)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Kjellerstedt 6 years ago
parent
commit
8bbd177bb8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      bitbake/bin/bitbake-diffsigs

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