diff options
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/append.py | 3 | ||||
-rw-r--r-- | scripts/lib/recipetool/setvar.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py index 5d73d307e0..1e0fc1ee85 100644 --- a/scripts/lib/recipetool/append.py +++ b/scripts/lib/recipetool/append.py | |||
@@ -115,8 +115,7 @@ def _parse_recipe(pn, tinfoil): | |||
115 | # Error already logged | 115 | # Error already logged |
116 | return None | 116 | return None |
117 | append_files = tinfoil.cooker.collection.get_file_appends(recipefile) | 117 | append_files = tinfoil.cooker.collection.get_file_appends(recipefile) |
118 | rd = oe.recipeutils.parse_recipe(recipefile, append_files, | 118 | rd = oe.recipeutils.parse_recipe(tinfoil.cooker, recipefile, append_files) |
119 | tinfoil.config_data) | ||
120 | return rd | 119 | return rd |
121 | 120 | ||
122 | def determine_file_source(targetpath, rd): | 121 | def determine_file_source(targetpath, rd): |
diff --git a/scripts/lib/recipetool/setvar.py b/scripts/lib/recipetool/setvar.py index 657d2b6a7b..85701c06a9 100644 --- a/scripts/lib/recipetool/setvar.py +++ b/scripts/lib/recipetool/setvar.py | |||
@@ -51,7 +51,7 @@ def setvar(args): | |||
51 | if args.recipe_only: | 51 | if args.recipe_only: |
52 | patches = [oe.recipeutils.patch_recipe_file(args.recipefile, varvalues, patch=args.patch)] | 52 | patches = [oe.recipeutils.patch_recipe_file(args.recipefile, varvalues, patch=args.patch)] |
53 | else: | 53 | else: |
54 | rd = oe.recipeutils.parse_recipe(args.recipefile, None, tinfoil.config_data) | 54 | rd = oe.recipeutils.parse_recipe(tinfoil.cooker, args.recipefile, None) |
55 | if not rd: | 55 | if not rd: |
56 | return 1 | 56 | return 1 |
57 | patches = oe.recipeutils.patch_recipe(rd, args.recipefile, varvalues, patch=args.patch) | 57 | patches = oe.recipeutils.patch_recipe(rd, args.recipefile, varvalues, patch=args.patch) |