]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: Use the wildcard flag in update_recipe_patch
authorOla x Nilsson <ola.x.nilsson@axis.com>
Tue, 23 Aug 2016 07:28:10 +0000 (09:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Aug 2016 21:59:29 +0000 (22:59 +0100)
The --wilcard-version flag was only used in the srcrev variant of the
update-recipe command.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py

index 3de2401325f6cedef43b6e9a766af9d856e8e308..68742244171be8c85e6e9f3e82f3c22fcf8b647d 100644 (file)
@@ -1186,6 +1186,7 @@ def _update_recipe_patch(recipename, workspace, srctree, rd, appendlayerdir, wil
                         removevalues = {'SRC_URI': removedentries + remaining}
                 _, destpath = oe.recipeutils.bbappend_recipe(
                                 rd, appendlayerdir, files,
+                                wildcardver=wildcard_version,
                                 removevalues=removevalues)
             else:
                 logger.info('No patches or local source files needed updating')