[OE-core] [PATCH] lib/oe/patch.py: Fix patch resolver logic
richard.purdie at linuxfoundation.org
Fri Mar 2 13:20:22 CET 2012
On Thu, 2012-03-01 at 23:41 +0000, Richard Purdie wrote:
> Currently, if PATCHRESOLVE is user and and PatchTree() is being used, you can
> get backtraces if patch applcication fails. This is because even in the failure
> case, self._current is incremented, meaning second time around, there are array
> range issues.
> This patch changes the code so _current is only incremented upon successful
> patch application, thereby resolving this failure.
> [YOCTO #2043 partially]
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
This patch is wrong, it breaks with multiple patch application. I've
posted an updated patch.
More information about the Openembedded-core