* [PATCH] ofono: Fix missing python dependency and package tests separately
@ 2011-11-24 23:08 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2011-11-24 23:08 UTC (permalink / raw)
To: openembedded-core; +Cc: freakrob
We need to ensure there is a python dependency for the ofono python
test scripts. To do this without introducing the dependency
unnecessarily for the core ofono functionality, this patch splits
the tests into a separate package too.
[YOCTO #1705]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 0b1a6e1..0cc58ae 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -17,4 +17,8 @@ do_install_append() {
install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
}
+PACKAGES =+ "${PN}-tests"
+
FILES_${PN} += "${base_libdir}/udev ${base_libdir}/systemd"
+FILES_${PN}-tests = "${libdir}/ofono"
+RDEPENDS_${PN}-tests = "python"
diff --git a/meta/recipes-connectivity/ofono/ofono_0.50.bb b/meta/recipes-connectivity/ofono/ofono_0.50.bb
index b679200..b4ef413 100644
--- a/meta/recipes-connectivity/ofono/ofono_0.50.bb
+++ b/meta/recipes-connectivity/ofono/ofono_0.50.bb
@@ -1,6 +1,6 @@
require ofono.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${BPN}-${PV}.tar.bz2 \
file://ofono"
diff --git a/meta/recipes-connectivity/ofono/ofono_git.bb b/meta/recipes-connectivity/ofono/ofono_git.bb
index f1770c2..966d315 100644
--- a/meta/recipes-connectivity/ofono/ofono_git.bb
+++ b/meta/recipes-connectivity/ofono/ofono_git.bb
@@ -1,6 +1,6 @@
require ofono.inc
-PR = "r1"
+PR = "r2"
S = "${WORKDIR}/git"
SRCREV = "14544d5996836f628613c2ce544380ee6fc8f514"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-24 23:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 23:08 [PATCH] ofono: Fix missing python dependency and package tests separately Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.