[oe] [meta-webserver] [PATCH 7/8] meta-webserver: use BPN in SRC_URI

Robert Yang liezhi.yang at windriver.com
Thu Jul 3 02:25:59 UTC 2014


Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 .../recipes-httpd/hiawatha/hiawatha_9.2.bb         |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
index 57005c5..b9fa5cd 100644
--- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
+++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb
@@ -6,7 +6,7 @@ DEPENDS = "libxml2 libxslt"
 
 SECTION = "net"
 
-SRC_URI = "http://hiawatha-webserver.org/files/${PN}-${PV}.tar.gz \
+SRC_URI = "http://hiawatha-webserver.org/files/${BP}.tar.gz \
            file://hiawatha-init \
            file://hiawatha.service "
 
-- 
1.7.9.5




More information about the Openembedded-devel mailing list