package/dbus: fix group and mode for the launcher
authorNorbert Lange <nolange79@gmail.com>
Fri, 5 Jun 2020 22:52:45 +0000 (00:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 6 Jun 2020 20:33:15 +0000 (22:33 +0200)
commit7ac245a0cb76f270b28860936245ca1abba0804a
treecfc01da788b237ad02de5d3758739fcc4d34c25c
parentf10a7e0fb82cb44d98cc79fcda7260175de30b7f
package/dbus: fix group and mode for the launcher

The D-Bus installation process installs dbus-daemon-launch-helper as
follows:

  chown root:$(DBUS_USER) $(DESTDIR)$(libexecdir)/dbus-daemon-launch-helper$(EXEEXT); \
  chmod 4750 $(DESTDIR)$(libexecdir)/dbus-daemon-launch-helper$(EXEEXT); \

And when the installation does not take place as root (like is the
case in the context of Buildroot), it prints:

  echo "Not installing $(DESTDIR)$(libexecdir)/dbus-daemon-launch-helper binary setuid!"; \
  echo "You'll need to manually set permissions to root:$(DBUS_USER) and permissions 4750"; \

So let's adjust the installation logic of dbus-daemon-launch-helper to
match these requirements.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dbus/dbus.mk