Skip to contentSkip to conversation

netcat-openbsd: correct subdir for SRC_URI

PATCH New [email protected] 1 participant 1 message Apr 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netcat-openbsd: correct subdir for SRC_URI

From: Mingli Yu <[email protected]>

* Correct subdir to let the second source file
netcat-openbsd_${PV}-7.debian.tar.gz unpacked
under the correct folder to avoid below error
when do_patch in multilib env.

  | DEBUG: Executing python function do_patch
  | DEBUG: Executing shell function netcat_do_patch
  | No patch removed
  | No series file found
  | WARNING: exit code 2 from a shell command.
---
 meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb +1 -1
index 76a32a5215..9d7420f8c2 100644
@@ -8,7 +8,7 @@ DEPENDS += "glib-2.0 libbsd"
 do_patch[depends] = "quilt-native:do_populate_sysroot"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz;name=netcat \
-           ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}-7.debian.tar.gz;name=netcat-patch;subdir=${PN}-${PV} \
+           ${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}-7.debian.tar.gz;name=netcat-patch;subdir=${BP} \
            file://0001-bundle-own-base64-encode-decode-functions.patch \
            "
 
Signature · 1 line
2.11.0