summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/net-tools/net-tools_1.60-23.bb')
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-23.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-23.bb b/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
index 213fb60..c8d2c57 100644
--- a/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-23.bb
@@ -31,11 +31,19 @@ PARALLEL_MAKE = ""
31# up all previously applied patches in the start 31# up all previously applied patches in the start
32nettools_do_patch() { 32nettools_do_patch() {
33 cd ${S} 33 cd ${S}
34 patch -p1 < ${WORKDIR}/${BPN}_${PV}.diff 34 quilt pop -a || true
35 if [ -d ${S}/.pc-nettools ]; then
36 mv ${S}/.pc-nettools ${S}/.pc
37 QUILT_PATCHES=${S}/debian/patches quilt pop -a
38 rm -rf ${S}/.pc ${S}/debian
39 fi
40 patch -p1 < ${WORKDIR}/${BPN}_${PV}.diff
35 QUILT_PATCHES=${S}/debian/patches quilt push -a 41 QUILT_PATCHES=${S}/debian/patches quilt push -a
36 rm -rf ${S}/patches ${S}/.pc 42 mv ${S}/.pc ${S}/.pc-nettools
37} 43}
38 44
45do_unpack[cleandirs] += "${S}"
46
39# We invoke base do_patch at end, to incorporate any local patch 47# We invoke base do_patch at end, to incorporate any local patch
40python do_patch() { 48python do_patch() {
41 bb.build.exec_func('nettools_do_patch', d) 49 bb.build.exec_func('nettools_do_patch', d)