diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-24 23:04:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 11:38:38 +0000 |
commit | f699cb48c7f379f97623f1f244b0b6c5875d7497 (patch) | |
tree | a6f1146b10a09fac3c4ed0a40dd60d62c512f3e1 /meta/recipes-connectivity/ofono | |
parent | 0f446c29f10fd83228619e05ddec29fdc29188b3 (diff) | |
download | openembedded-core-f699cb48c7f379f97623f1f244b0b6c5875d7497.tar.gz openembedded-core-f699cb48c7f379f97623f1f244b0b6c5875d7497.tar.bz2 openembedded-core-f699cb48c7f379f97623f1f244b0b6c5875d7497.tar.xz openembedded-core-f699cb48c7f379f97623f1f244b0b6c5875d7497.zip |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ofono')
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono.inc | 4 | ||||
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono_0.50.bb | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono_git.bb | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index 0b1a6e123..0cc58ae3a 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 b679200fb..b4ef413be 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 f1770c2d1..966d315df 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" |