[oe] [meta-networking][PATCH] netcat-openbsd: correct subdir for SRC_URI

mingli.yu at windriver.com mingli.yu at windriver.com
Fri Apr 28 09:02:21 UTC 2017


From: Mingli Yu <Mingli.Yu at windriver.com>

* 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.

Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
---
 meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb
index 76a32a5215..9d7420f8c2 100644
--- a/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb
+++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb
@@ -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 \
            "
 
-- 
2.11.0




More information about the Openembedded-devel mailing list