summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:54:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:58:35 +0000
commitff72823d4089fe9a47edb5c3f74eed39360db0e3 (patch)
tree710b67b75ea4bb2b558986e3adacf1f847661e4f
parent34b415842d94dd3f12872758ab8b9cbc4ebdc26a (diff)
downloadpoky-ff72823d4089fe9a47edb5c3f74eed39360db0e3.tar.gz
bitbake: bitbake-diffigs: Don't pull in tinfoil unless we really need/plan to use it
This means we can run in parallel with other bitbake processed we're not in task mode. (Bitbake rev: 20222f2f16130e91eed5e68286188ee0e8f8f3bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/bin/bitbake-diffsigs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index 62f682748b..3ce70dabd9 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -85,8 +85,8 @@ options, args = parser.parse_args(sys.argv)
85if len(args) == 1: 85if len(args) == 1:
86 parser.print_help() 86 parser.print_help()
87else: 87else:
88 tinfoil = bb.tinfoil.Tinfoil()
89 if options.taskmode: 88 if options.taskmode:
89 tinfoil = bb.tinfoil.Tinfoil()
90 if len(args) < 3: 90 if len(args) < 3:
91 logger.error("Please specify a recipe and task name") 91 logger.error("Please specify a recipe and task name")
92 sys.exit(1) 92 sys.exit(1)