[Buildroot] [git commit] ofono: fix missing systemd and dbus files
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Oct 17 14:31:07 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=7f237f06319dc1716aec620774e4106c53bce44b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Ofono's service file was not being installed when systemd was selected
as the init system.
Without ofono.conf in /etc/dbus-1/system.d, ofonod cannot take its
dbus name on the system bus and will fail to start with a permission
denied error.
Signed-off-by: Mike Williams <mike at mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/ofono/ofono.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
index f1a63e2..7899750 100644
--- a/package/ofono/ofono.mk
+++ b/package/ofono/ofono.mk
@@ -16,7 +16,10 @@ OFONO_DEPENDENCIES = \
libcap-ng \
mobile-broadband-provider-info
-OFONO_CONF_OPTS = --disable-test
+OFONO_CONF_OPTS = \
+ --disable-test \
+ --with-dbusconfdir=/etc \
+ $(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system)
# N.B. Qualcomm QMI modem support requires O_CLOEXEC; so
# make sure that it is defined.
More information about the buildroot
mailing list