mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
dbus: install the bus policy in $datadir/dbus-1/system.d
make distcheck fails in install:
/usr/bin/install: cannot create regular file '/etc/dbus-1/system.d/org.finit.conf': Permission denied
The policy was installed to $sysconfdir/dbus-1/system.d. distcheck only
overrides the prefix, so the file escaped its sandbox and aimed for the
real /etc.
Install it where dbus looks for package owned policy, leaving
/etc/dbus-1/system.d to the admin. The test bus config reads it
relative to itself.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
3 files changed
+8
-4
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
EXTRA_DIST = org.finit.conf
|
||||
|
||||
if DBUS
|
||||
dbuspolicydir = $(sysconfdir)/dbus-1/system.d
|
||||
dbuspolicydir = $(datadir)/dbus-1/system.d
|
||||
dist_dbuspolicy_DATA = org.finit.conf
|
||||
endif
|
||||
Reference in new issue
Block a user