diff options
Diffstat (limited to 'scripts/recipetool')
-rwxr-xr-x | scripts/recipetool | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/recipetool b/scripts/recipetool index 87fb35ed72..4af0bfb686 100755 --- a/scripts/recipetool +++ b/scripts/recipetool | |||
@@ -34,7 +34,7 @@ plugins = [] | |||
34 | def tinfoil_init(parserecipes): | 34 | def tinfoil_init(parserecipes): |
35 | import bb.tinfoil | 35 | import bb.tinfoil |
36 | import logging | 36 | import logging |
37 | tinfoil = bb.tinfoil.Tinfoil() | 37 | tinfoil = bb.tinfoil.Tinfoil(tracking=True) |
38 | tinfoil.prepare(not parserecipes) | 38 | tinfoil.prepare(not parserecipes) |
39 | tinfoil.logger.setLevel(logger.getEffectiveLevel()) | 39 | tinfoil.logger.setLevel(logger.getEffectiveLevel()) |
40 | return tinfoil | 40 | return tinfoil |
@@ -96,7 +96,9 @@ def main(): | |||
96 | 96 | ||
97 | try: | 97 | try: |
98 | if getattr(args, 'parserecipes', False): | 98 | if getattr(args, 'parserecipes', False): |
99 | tinfoil.config_data.disableTracking() | ||
99 | tinfoil.parseRecipes() | 100 | tinfoil.parseRecipes() |
101 | tinfoil.config_data.enableTracking() | ||
100 | ret = args.func(args) | 102 | ret = args.func(args) |
101 | except bb.BBHandledException: | 103 | except bb.BBHandledException: |
102 | ret = 1 | 104 | ret = 1 |