]> 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>
Fri, 26 Jun 2015 08:25:51 +0000 (09:25 +0100)
commitde6e0f3af5e858960676ea291036e59105fd806f
tree993e80a8deb50a802fe92c9ab14e789ae7dd4df2
parent91d76e632336d6af96f24bcf92be25f41a216856
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]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py