Re: [PATCH] obexd: Install D-BUS service for non systemd

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

 



Hi Joakim,

On Wed, Mar 6, 2024 at 7:40 PM Joakim Tjernlund
<joakim.tjernlund@xxxxxxxxxxxx> wrote:
>
> From: Joakim Tjernlund <Joakim.Tjernlund@xxxxxxxxxxxx>
>
> non systemd(like OpenRC) machines need D-BUS activation for obexd as
> they lack --user service.
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@xxxxxxxxxxxx>
> ---
>  Makefile.obexd | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/Makefile.obexd b/Makefile.obexd
> index 385e5618d..cfcc115b7 100644
> --- a/Makefile.obexd
> +++ b/Makefile.obexd
> @@ -1,7 +1,6 @@
>  # SPDX-License-Identifier: GPL-2.0
>  if OBEX
>
> -if SYSTEMD
>  systemduserunitdir = $(SYSTEMD_USERUNITDIR)
>  systemduserunit_DATA = obexd/src/obex.service
>
> @@ -10,10 +9,6 @@ obexd-add-service-symlink:
>
>  obexd-remove-service-symlink:
>         rm -f $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service
> -else
> -obexd-add-service-symlink:
> -obexd-remove-service-symlink:
> -endif
>
>  dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
>  dbussessionbus_DATA = obexd/src/org.bluez.obex.service
> --
> 2.43.0
>

I guess you want to revert 9cc8b97b8f5d060e334207136100e947732aed08,
but then we need to fix the checkpatch error:

commit 9cc8b97b8f5d060e334207136100e947732aed08
Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
Date:   Mon Mar 4 12:44:08 2024 -0500

    build: obexd: Fix make distcheck

    This fixes the following error:

    /usr/bin/install: cannot remove
    '/usr/share/dbus-1/services/org.bluez.obex.service': Permission denied



-- 
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