From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RTiVS-0004n7-2v for openembedded-core@lists.openembedded.org; Fri, 25 Nov 2011 00:15:02 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id pAON8Rsx031839; Thu, 24 Nov 2011 23:08:27 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31011-10; Thu, 24 Nov 2011 23:08:23 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id pAON8J4c031833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Nov 2011 23:08:20 GMT Message-ID: <1322176106.10928.26.camel@ted> From: Richard Purdie To: openembedded-core Date: Thu, 24 Nov 2011 23:08:26 +0000 X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: freakrob@gmail.com Subject: [PATCH] ofono: Fix missing python dependency and package tests separately X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 23:15:02 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --- 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"