Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH 1/4] build: Install DBus policy in /usr/share/dbus-1/system.d
@ 2018-02-04 22:55 Jonas Bonn
  2018-02-04 22:55 ` [PATCH 2/4] xmm7modem: drop executable bit from C source file Jonas Bonn
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jonas Bonn @ 2018-02-04 22:55 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

The default location for DBus policy files should be
/usr/share/dbus-1/system.d and the corresponding directory under /etc
should be reserved for administrative changes to default/packaged
settings.  This removes a dependency of ofono on a populated /etc.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index f3148a40..79436adc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,9 +83,9 @@ AC_SUBST(DBUS_LIBS)
 
 AC_ARG_WITH(dbusconfdir, AC_HELP_STRING([--with-dbusconfdir=PATH],
 	[path to D-Bus config directory]), [path_dbusconf=${withval}],
-		[path_dbusconf="`$PKG_CONFIG --variable=sysconfdir dbus-1`"])
+		[path_dbusconf="`$PKG_CONFIG --variable=datadir dbus-1`"])
 if (test -z "${path_dbusconf}"); then
-	DBUS_CONFDIR="${sysconfdir}/dbus-1/system.d"
+	DBUS_CONFDIR="${datadir}/dbus-1/system.d"
 else
 	DBUS_CONFDIR="${path_dbusconf}/dbus-1/system.d"
 fi
-- 
2.14.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-14 16:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-04 22:55 [PATCH 1/4] build: Install DBus policy in /usr/share/dbus-1/system.d Jonas Bonn
2018-02-04 22:55 ` [PATCH 2/4] xmm7modem: drop executable bit from C source file Jonas Bonn
2018-02-05 16:20   ` Denis Kenzior
2018-02-14  9:36     ` Jonas Bonn
2018-02-14 16:47       ` Denis Kenzior
2018-02-04 22:55 ` [PATCH 3/4] Remove unused threading support Jonas Bonn
2018-02-04 22:55 ` [PATCH 4/4] configure.ac: simplify usage of PKG_CHECK_MODULES Jonas Bonn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox