]> code.ossystems Code Review - openembedded-core.git/commit
devtool: update-recipe: ensure patches get deleted in srcrev mode
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Aug 2017 23:54:05 +0000 (11:54 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Aug 2017 22:25:32 +0000 (23:25 +0100)
commit350f83dc1e317aeb93539f13966caca6d894f569
treedb1b972253aee03aca174c289a3b4a4412bc251a
parenta88c16c2dc5dd7e2fbf7ca908a8b48da7be8b34c
devtool: update-recipe: ensure patches get deleted in srcrev mode

Patches that we identify as having been "deleted" (i.e. patches in
SRC_URI that no longer appear in the git tree) need to be dropped even
if we're updating in srcrev mode. This fixes the case where HEAD of the
git tree is valid upstream (i.e. no extra commits), but there are
patches left over in the recipe, e.g. when we do devtool upgrade and
then all of the commits rebased on top of the new branch get skipped.

Fixes [YOCTO #11972].

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