From c80e8dd3a5aea663ff2cd10ac5b44af8c9388af6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 24 Nov 2011 23:04:13 +0000 Subject: 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 --- meta/recipes-connectivity/ofono/ofono.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-connectivity/ofono/ofono.inc') 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() { 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" -- cgit v1.2.3-54-g00ecf