Skip to contentSkip to conversation

netcat-openbsd: fix netcat_do_patch problem

PATCH New [email protected] 1 participant 1 message Aug 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netcat-openbsd: fix netcat_do_patch problem

From: Changqing Li <[email protected]>

${S}/debian should not be deleted after pop the patch, or we will met error when run below push patch command since no debian folder found.

QUILT_PATCHES=${S}/debian/patches quilt push -a

---
 meta-networking/recipes-support/netcat/netcat-openbsd_1.190.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/netcat/netcat-openbsd_1.190.bb +1 -1
index b4802fa..74f5c9f 100644
@@ -30,7 +30,7 @@ netcat_do_patch() {
             rm -rf ${S}/.pc
             mv ${S}/.pc-netcat ${S}/.pc
             QUILT_PATCHES=${S}/debian/patches quilt pop -a
-            rm -rf ${S}/.pc ${S}/debian
+            rm -rf ${S}/.pc
     fi
     QUILT_PATCHES=${S}/debian/patches quilt push -a
     mv ${S}/.pc ${S}/.pc-netcat
Signature · 1 line
2.7.4