]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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 12:30:49 +0000 (12:30 +0000)
commit45adbe370908901d0d2e94b3c4daea821772e2ff
treeb4f7018bab13b4051618622934f4e2e21f5d71c7
parent5942a8dc7c0a7f157e4023201c66c0cf7f91550b
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.

(From OE-Core rev: f24f59ea1d8bc335ea8576f6a346d0935f4a3548)

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