[oe,2/2] lib/oe/recipeutils.py: follow changed method argument list

Message ID 20211210130458.39716-3-max.krummenacher@toradex.com
State New
Headers show
Series implement applying patches from a directory | expand

Commit Message

Max Krummenacher Dec. 10, 2021, 1:04 p.m. UTC
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta/lib/oe/recipeutils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index a0c6974f04..7b5b6bf10e 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -467,7 +467,7 @@  def get_recipe_local_files(d, patches=False, archives=False):
     for uri in uris:
         if fetch.ud[uri].type == 'file':
             if (not patches and
-                    oe.patch.patch_path(uri, fetch, '', expand=False)):
+                    oe.patch.patch_path(fetch.localpath(uri), fetch.ud[uri], fetch, '', expand=False)):
                 continue
             # Skip files that are referenced by absolute path
             fname = fetch.ud[uri].basepath