path: root/scripts/lib/devtool/
diff options
authorMarkus Lehtonen <>2015-04-16 19:37:57 +0300
committerRichard Purdie <>2015-06-28 09:44:14 +0100
commitaf86c079dd9942748cfe920871db6d3f5130e05a (patch)
treeae9516873705c651d6eecae752cc4788aa4ad1b0 /scripts/lib/devtool/
parenta8d1d48cba3329564919834ff9c8e9cd40b6e86c (diff)
devtool: call parse_recipe with correct arguments
Give the correct data object ("config data" instead of "recipe data") as an argument to oe.recipeutils.patch_recipe() Fixes [YOCTO #7595] (From OE-Core master rev: 7d2b918019b0afe215a6489dad697afac34f73e9) (From OE-Core rev: f8427fe565e44e46246146bdaae66a5d83ae8c9d) Signed-off-by: Markus Lehtonen <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/lib/devtool/')
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/devtool/ b/scripts/lib/devtool/
index 54920b2..d5ded2f 100644
--- a/scripts/lib/devtool/
+++ b/scripts/lib/devtool/
@@ -482,7 +482,7 @@ def update_recipe(args, config, basepath, workspace):
if remove_patches(srcuri, removepatches):
patchfields['SRC_URI'] = ' '.join(srcuri)
- oe.recipeutils.patch_recipe(rd, recipefile, patchfields)
+ oe.recipeutils.patch_recipe(tinfoil.config_data, recipefile, patchfields)
if not 'git://' in orig_src_uri:'You will need to update SRC_URI within the recipe to point to a git repository where you have pushed your changes')
@@ -564,7 +564,8 @@ def update_recipe(args, config, basepath, workspace):
updaterecipe = True
if updaterecipe:'Updating recipe %s' % os.path.basename(recipefile))
- oe.recipeutils.patch_recipe(rd, recipefile, {'SRC_URI': ' '.join(srcuri)})
+ oe.recipeutils.patch_recipe(tinfoil.config_data,
+ recipefile, {'SRC_URI': ' '.join(srcuri)})
elif not updatepatches:
# Neither patches nor recipe were updated'No patches need updating')
OpenPOWER on IntegriCloud