summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-24 23:04:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-25 11:40:00 +0000
commitc80e8dd3a5aea663ff2cd10ac5b44af8c9388af6 (patch)
tree098624762cfa066808a070a616052e27b694f23a
parent4bf73cbbe204b1175f7a92322a440a6642ffc083 (diff)
downloadpoky-c80e8dd3a5aea663ff2cd10ac5b44af8c9388af6.tar.gz
ofono: Fix missing python dependency and package tests separately
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] (From OE-Core rev: f699cb48c7f379f97623f1f244b0b6c5875d7497) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/ofono/ofono.inc4
-rw-r--r--meta/recipes-connectivity/ofono/ofono_0.50.bb2
-rw-r--r--meta/recipes-connectivity/ofono/ofono_git.bb2
3 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 0b1a6e1234..0cc58ae3a5 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -17,4 +17,8 @@ do_install_append() {
17 install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono 17 install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
18} 18}
19 19
20PACKAGES =+ "${PN}-tests"
21
20FILES_${PN} += "${base_libdir}/udev ${base_libdir}/systemd" 22FILES_${PN} += "${base_libdir}/udev ${base_libdir}/systemd"
23FILES_${PN}-tests = "${libdir}/ofono"
24RDEPENDS_${PN}-tests = "python"
diff --git a/meta/recipes-connectivity/ofono/ofono_0.50.bb b/meta/recipes-connectivity/ofono/ofono_0.50.bb
index b679200fb0..b4ef413be7 100644
--- a/meta/recipes-connectivity/ofono/ofono_0.50.bb
+++ b/meta/recipes-connectivity/ofono/ofono_0.50.bb
@@ -1,6 +1,6 @@
1require ofono.inc 1require ofono.inc
2 2
3PR = "r1" 3PR = "r2"
4 4
5SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${BPN}-${PV}.tar.bz2 \ 5SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${BPN}-${PV}.tar.bz2 \
6 file://ofono" 6 file://ofono"
diff --git a/meta/recipes-connectivity/ofono/ofono_git.bb b/meta/recipes-connectivity/ofono/ofono_git.bb
index f1770c2d12..966d315df0 100644
--- a/meta/recipes-connectivity/ofono/ofono_git.bb
+++ b/meta/recipes-connectivity/ofono/ofono_git.bb
@@ -1,6 +1,6 @@
1require ofono.inc 1require ofono.inc
2 2
3PR = "r1" 3PR = "r2"
4 4
5S = "${WORKDIR}/git" 5S = "${WORKDIR}/git"
6SRCREV = "14544d5996836f628613c2ce544380ee6fc8f514" 6SRCREV = "14544d5996836f628613c2ce544380ee6fc8f514"