* [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files
@ 2015-10-15 14:35 Mike Williams
2015-10-15 14:35 ` [Buildroot] [PATCH 2/2] ofono: fix missing systemd and dbus files Mike Williams
2015-10-17 14:31 ` [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Mike Williams @ 2015-10-15 14:35 UTC (permalink / raw)
To: buildroot
Without connman.conf in /etc/dbus-1/system.d/, connmand cannot take
its name on the dbus system bus and will fail to start with a
permission denied error.
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
---
package/connman/connman.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index 87d81ce..3b14a80 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -12,6 +12,7 @@ CONNMAN_INSTALL_STAGING = YES
CONNMAN_LICENSE = GPLv2
CONNMAN_LICENSE_FILES = COPYING
CONNMAN_CONF_OPTS += \
+ --with-dbusconfdir=/etc \
$(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug) \
$(if $(BR2_PACKAGE_CONNMAN_ETHERNET),--enable-ethernet,--disable-ethernet) \
$(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi) \
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] ofono: fix missing systemd and dbus files
2015-10-15 14:35 [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files Mike Williams
@ 2015-10-15 14:35 ` Mike Williams
2015-10-17 14:31 ` [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Mike Williams @ 2015-10-15 14:35 UTC (permalink / raw)
To: buildroot
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@mikebwilliams.com>
---
package/ofono/ofono.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
index f1a63e2..43d16fd 100644
--- a/package/ofono/ofono.mk
+++ b/package/ofono/ofono.mk
@@ -16,7 +16,9 @@ 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.
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files
2015-10-15 14:35 [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files Mike Williams
2015-10-15 14:35 ` [Buildroot] [PATCH 2/2] ofono: fix missing systemd and dbus files Mike Williams
@ 2015-10-17 14:31 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-10-17 14:31 UTC (permalink / raw)
To: buildroot
Dear Mike Williams,
On Thu, 15 Oct 2015 10:35:06 -0400, Mike Williams wrote:
> Without connman.conf in /etc/dbus-1/system.d/, connmand cannot take
> its name on the dbus system bus and will fail to start with a
> permission denied error.
>
> Signed-off-by: Mike Williams <mike@mikebwilliams.com>
> ---
> package/connman/connman.mk | 1 +
> 1 file changed, 1 insertion(+)
Both patches applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-17 14:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 14:35 [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files Mike Williams
2015-10-15 14:35 ` [Buildroot] [PATCH 2/2] ofono: fix missing systemd and dbus files Mike Williams
2015-10-17 14:31 ` [Buildroot] [PATCH 1/2] connman: fix missing dbus configuration files Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox