]> code.ossystems Code Review - openembedded-core.git/commit
classes/patch: move in logic to commit for additional tasks
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 13 Dec 2016 07:09:38 +0000 (20:09 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Dec 2016 09:56:35 +0000 (09:56 +0000)
commitf24f59ea1d8bc335ea8576f6a346d0935f4a3548
tree5e94c333f2938f666c8aa26ef813ae2cd3bb860f
parent1c99d74a862f25e23ea6465fab7ddc9ce74d6974
classes/patch: move in logic to commit for additional tasks

If PATCHTOOL is "git", and PATCH_COMMIT_FUNCTIONS is set to "1", for
additional tasks between do_unpack and do_patch, make a git commit. This
logic was previously implemented in devtool itself, but it makes more
sense for it to be implemented in the patch class since that's where the
rest of the logic is for this (or in lib/oe/patch.py). It also makes
it possible for this to work with tinfoil2.

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