]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: bitbake-diffsigs: Support recursive deps with signature files
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 28 Dec 2018 17:30:40 +0000 (18:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jan 2019 12:36:55 +0000 (12:36 +0000)
Follow dependent hash changes recursively also when specifying two
signature files explicitly. Previously this was only done when using the
--task option.

(Bitbake rev: 353f0f3c77c3cdd75c1be2a565234a5e53dba3ef)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-diffsigs

index b0869e1143ff54f64bdccab14596f7581fb92910..fa430bb3b3de054d2f527d42563a07f076a1680f 100755 (executable)
@@ -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: