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

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

 



On Wed, 2024-03-06 at 22:40 -0500, Luiz Augusto von Dentz wrote:
> Hi Joakim,
Hi Luiz :)

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

Don't know that, a bit clueless about distcheck and what it does.
For me it fails before my patch already:

./bootstrap
./configure
make distcheck
make --no-print-directory dist-xz am__post_remove_distdir='@:'
  GEN      lib/bluetooth/bluetooth.h
  GEN      lib/bluetooth/hci.h
  GEN      lib/bluetooth/hci_lib.h
  GEN      lib/bluetooth/sco.h
  GEN      lib/bluetooth/l2cap.h
  GEN      lib/bluetooth/sdp.h
  GEN      lib/bluetooth/sdp_lib.h
  GEN      lib/bluetooth/rfcomm.h
  GEN      lib/bluetooth/bnep.h
  GEN      lib/bluetooth/cmtp.h
  GEN      lib/bluetooth/hidp.h
  GEN      ell/shared
  GEN      src/builtin.h
  GEN      obexd/src/builtin.h
make --no-print-directory distdir-am
make[2]: *** No rule to make target 'ell/util.h', needed by 'distdir-am'.  Stop.
make[1]: *** [Makefile:12016: distdir] Error 2
make: *** [Makefile:12096: dist] Error 2


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





[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