]> code.ossystems Code Review - openembedded-core.git/commit
devtool: update-recipe: support replacing remote patches
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 10 Nov 2016 01:45:18 +0000 (14:45 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 11:02:27 +0000 (11:02 +0000)
commita19c26cc78a181f9dd2706dd42e7e450d7ad4082
treeda85389542f4b91ce0facd4b69effd8490e9a8cd
parente47d21624dfec6f71742b837e91da553f18a28c5
devtool: update-recipe: support replacing remote patches

If you have a patch remotely fetched in a recipe (e.g. from an http
server) that needs updating then add a local version and substitute the
entry in SRC_URI to point to it.

One can argue about how desirable it is to be modifying patches fetched
in this way, but then one can argue about how desirable it is to have
such patches in the recipe in the first place - and in any case if
devtool update-recipe is to correctly transfer changes to such patches
made in the git repository within the source tree to the recipe then
there isn't much choice but to do it this way.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py