]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-diffigs: Don't pull in tinfoil unless we really need/plan to use it
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:54:49 +0000 (12:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:57:49 +0000 (12:57 +0000)
This means we can run in parallel with other bitbake processed we're not in
task mode.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/bitbake-diffsigs

index 62f682748b31ac77c1d43d7c070f9348a7662482..3ce70dabd9032ea862045b03d6ee1cc79586cbfc 100755 (executable)
@@ -85,8 +85,8 @@ options, args = parser.parse_args(sys.argv)
 if len(args) == 1:
     parser.print_help()
 else:
-    tinfoil = bb.tinfoil.Tinfoil()
     if options.taskmode:
+        tinfoil = bb.tinfoil.Tinfoil()
         if len(args) < 3:
             logger.error("Please specify a recipe and task name")
             sys.exit(1)