Re: [PATCH BlueZ 1/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gioele,

On Tue, Aug 8, 2023 at 11:23 AM Gioele Barabucci <gioele@xxxxxxxxx> wrote:
>
> From https://bugs.debian.org/1006631:
>
> > 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`.

I'm fine with these changes but we also need to bump dbus dependency
to 1.14 then since it currently requiring 1.6:

PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.6, dummy=yes,
                AC_MSG_ERROR(D-Bus >= 1.6 is required))

> ---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 4b9b7e5cd..f23c39d20 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -32,7 +32,7 @@ confdir = $(sysconfdir)/bluetooth
>  statedir = $(localstatedir)/lib/bluetooth
>
>  if DATAFILES
> -dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
> +dbusdir = $(datadir)/dbus-1/system.d
>  dbus_DATA = src/bluetooth.conf
>
>  conf_DATA =
> --
> 2.39.2
>


-- 
Luiz Augusto von Dentz




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux