* [PATCH] ofono: RRECOMMENDS tun.ko & APN database
@ 2016-09-02 22:04 André Draszik
0 siblings, 0 replies; only message in thread
From: André Draszik @ 2016-09-02 22:04 UTC (permalink / raw)
To: openembedded-core
- kernel-module-tun is needed so that ofono can create the
ppp network interface
- mobile-broadband-provider-info is needed as an explicit
dependency even though it is in DEPENDS, because it's
just an xml database, and the DEPENDS simply allows
ofono to figure out its location in the file system
(using pkg-config during configure). But there is no
shared library dependency or so for bitbake to figure
out this runtime dependency.
We make it a recommendation only, so that it can still
be removed from filesystem images in case people build
images that don't need the provider database (and e.g.
hard-code APNs for specific use-cases)
Signed-off-by: André Draszik <git@andred.net>
---
meta/recipes-connectivity/ofono/ofono.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 72bbcac..47e2a90 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -35,6 +35,7 @@ do_install_append() {
PACKAGES =+ "${PN}-tests"
RDEPENDS_${PN} += "dbus"
+RRECOMMENDS_${PN} += "kernel-module-tun mobile-broadband-provider-info"
FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}"
FILES_${PN}-tests = "${libdir}/${BPN}/test"
--
2.9.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-02 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-02 22:04 [PATCH] ofono: RRECOMMENDS tun.ko & APN database André Draszik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox