]> code.ossystems Code Review - openembedded-core.git/commit
lib/devtool/standard: Fix patch cleanup
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Jun 2015 15:09:14 +0000 (16:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jul 2015 12:06:05 +0000 (13:06 +0100)
commit03dbc60c165a511894d1ae10ac1d90c1fadcc268
treee0f8f268d4d030b38c8ed5db534f87849789945c
parent3371b42a4ac5becb063157f1b258918601211ebf
lib/devtool/standard: Fix patch cleanup

If patches fail to apply with git, quilt it used as a fallback. If that
happens, the code in this class is meant to handle cleanup of these patch
files. In the case where ${S} is a subdir of the git tree, the code doesn't
correctly set the patches directory.

This change correctly sets the patches directory (which is different to the
location of the git repository).

[YOCTO #7911]

(From OE-Core master rev: de6e0f3af5e858960676ea291036e59105fd806f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
scripts/lib/devtool/standard.py