build: Install D-Bus policy in /usr/share, not /etc
dbus supports policy files in both /usr/share/dbus-1/system.d and /etc/dbus-1/systemd. The recently released dbus 1.14.0, officially deprecates installing packages' default policies into /etc/dbus-1/systemd, instead reserving it for the sysadmin. This is the same idea as the difference between /usr/lib/udev/rules.d and /etc/udev/rules.d. See https://bugs.debian.org/1006631
This commit is contained in:

committed by
Bastien Nocera

parent
48cb957c41
commit
caa0318903
@@ -26,7 +26,7 @@ common_cflags = cc.get_supported_arguments([
|
||||
prefix = get_option('prefix')
|
||||
libexecdir = prefix / get_option('libexecdir')
|
||||
bindir = get_option('bindir')
|
||||
dbusconfdir = get_option('sysconfdir') / 'dbus-1' / 'system.d'
|
||||
dbusconfdir = get_option('datadir') / 'dbus-1' / 'system.d'
|
||||
|
||||
mathlib_dep = cc.find_library('m', required: false)
|
||||
udev_rules_dir = get_option('udevrulesdir')
|
||||
|
Reference in New Issue
Block a user