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>
This commit is contained in:
parent
11ef55a93b
commit
2b899a472a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue