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>
This commit is contained in:
parent
4bf73cbbe2
commit
c80e8dd3a5
|
@ -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"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require ofono.inc
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/network/ofono/${BPN}-${PV}.tar.bz2 \
|
||||
file://ofono"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require ofono.inc
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "14544d5996836f628613c2ce544380ee6fc8f514"
|
||||
|
|
Loading…
Reference in New Issue