]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oe/recipeutils: patch_recipe(): fix replacing varflag values
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 28 Nov 2018 04:16:15 +0000 (17:16 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Nov 2018 22:23:49 +0000 (22:23 +0000)
commit9dc1671fbe7208c96a652059d21f04f60afadd94
treecf530dd553ebd0b323e9be3ae6b46f26d306d15e
parentbc44329f466c29014226a16eceb05c1cfa22d82d
lib/oe/recipeutils: patch_recipe(): fix replacing varflag values

The code here wasn't correctly getting the variable history for
varflags, so for example if you did a devtool upgrade on a recipe where
the SRC_URI checksums were in the .inc file (typical for python recipes
in order to support both python 2 and 3) then after the upgrade the
new values would be set in the recipe and the old values were left in
the .inc, which is not right. Teach the code here how to get the history
for varflags so it works properly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/recipeutils.py