[oe] [meta-networking][PATCH 3/3] accel-ppp: resolve QA warnings and satisfy multilib

Aws Ismail aws.ismail at windriver.com
Thu Feb 14 20:39:22 UTC 2013


Create -libs and -dbg splits to include .so and .debug
files, respectively to resolve the QA warning:
lib64-accel-ppp rdepends on lib64-accel-ppp-dev when
multilib is being used.

Signed-off-by: Aws Ismail <aws.ismail at windriver.com>
---
 .../recipes-protocols/accel-ppp/accel-ppp_git.bb   |    7 +++++++
 .../traceroute/traceroute_2.0.18.bb                |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
index 9eb9bf8..d17cc78 100644
--- a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
+++ b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
@@ -8,6 +8,7 @@ DEPENDS = "openssl libpcre"
 
 inherit cmake
 
+PR = "r1"
 PV = "1.7.3+git"
 
 SRCREV = "4acfa46c321a344b9a6ce4128e72d1e02828d8a0"
@@ -23,3 +24,9 @@ EXTRA_OECMAKE = " \
                  -DRADIUS=FALSE \
                  -DNETSNMP=FALSE \
                 "
+FILES_${PN}-dbg += "/usr/lib/${BPN}/.debug/*"
+
+PACKAGES =+ "${PN}-libs"
+FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
+INSANE_SKIP_${PN}-libs = "dev-so"
+RDEPENDS_${PN} += "${PN}-libs"
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
index f5f96b2..f523140 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
@@ -34,8 +34,8 @@ do_install() {
 
     install -d ${D}${mandir}
     install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}
-    ln -s ${PN}.8 ${D}${mandir}/${BPN}6.8
-    ln -s ${PN}.8 ${D}${mandir}/tcptraceroute.8
+    ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8
+    ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8
 
 }
 
-- 
1.7.0.4





More information about the Openembedded-devel mailing list