aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-10-31 16:48:05 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-11-09 14:51:41 +1300
commit75d99de26f786dd62d3e04cc8cc438fd66ca421b (patch)
treed35cd3e2dd4e9e342403d757c676817f154383fe /meta/lib
parent7cd22161ae6fe44d0471408e0ca9d3cb5e7b2878 (diff)
downloadopenembedded-core-contrib-paule/devtool31-oe.tar.gz
devtool: implement conditional patch handlingpaule/devtool31-oe
If you have a recipe that uses overrides to conditionally extend SRC_URI to add additional patches, then you will often need to update those patches if you're making other changes to the source tree (for example if you're upgrading the underlying source). Make this possible with devtool by creating devtool-override-* branches for each override that conditionally appends/prepends SRC_URI, and have devtool update-recipe / finish check each branch out in turn and update the corresponding patches. A current example of a recipe that does this is the quota recipe - it applies an additional patch if musl is the selected C library (i.e. libc-musl is in OVERRIDES). Note that use of this functionality does require some care - in particular, updates to patches that appear on the main branch (named "devtool" by default) should be made there and not only on one of the specific devtool-override-* branches that are created for each override. The recommended procedure is to make the changes you want to make to the main branch first, then check out and rebase each devtool-override-* branch, testing each one by activating the corresponding configuration, and then finally run devtool finish. Fixes [YOCTO #11516]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions