summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-21 17:33:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-11 17:39:51 +0000
commitd979f8589da79e02afac588e8b63d571f912f528 (patch)
treed71787b3b12b55beb54102738ace9a3b358c326f /meta/recipes-extended
parentf8d3bee7140cade4c70a1c6583fb6d9ef4063b92 (diff)
downloadopenembedded-core-d979f8589da79e02afac588e8b63d571f912f528.tar.gz
openembedded-core-d979f8589da79e02afac588e8b63d571f912f528.tar.bz2
openembedded-core-d979f8589da79e02afac588e8b63d571f912f528.zip
net-tools: Fix rerunning of do_patch task
Rerunning the do_patch task currently fails. The code is nearly correct but needs to remove the quilt ".pc" directory and move the secondary one into place in order to rerun, not move it into the .pc directory as the code currently does. [YOCTO #7128] (From OE-Core rev: 2a775ebbb175dd70fc7228607c306d4ccb9e4ba4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-25.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-25.bb b/meta/recipes-extended/net-tools/net-tools_1.60-25.bb
index 02826a09c9..0e4ee754a4 100644
--- a/meta/recipes-extended/net-tools/net-tools_1.60-25.bb
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-25.bb
@@ -34,6 +34,7 @@ nettools_do_patch() {
cd ${S}
quilt pop -a || true
if [ -d ${S}/.pc-nettools ]; then
+ rm -rf ${S}/.pc
mv ${S}/.pc-nettools ${S}/.pc
QUILT_PATCHES=${S}/debian/patches quilt pop -a
rm -rf ${S}/.pc ${S}/debian