]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: fixed mode if systemd service file
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 12 Jun 2014 13:34:26 +0000 (15:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Jun 2014 11:55:31 +0000 (12:55 +0100)
systemd complains with

|  Configuration file /lib/systemd/system/dbus.socket is marked executable. Please remove executable permission bits. Proceeding anyway.
|  Configuration file /lib/systemd/system/dbus.service is marked executable. Please remove executable permission bits. Proceeding anyway.

else.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus.inc

index be0131c3d8b7963d74b3ff347df31a4279cc7f0f..5b2a056511303ad70677aca296b01841f33cf9d7 100644 (file)
@@ -108,7 +108,7 @@ do_install() {
        if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
                for i in dbus.target.wants sockets.target.wants multi-user.target.wants; do \
                        install -d ${D}${systemd_unitdir}/system/$i; done
-               install ${B}/bus/dbus.service ${B}/bus/dbus.socket ${D}${systemd_unitdir}/system/
+               install -m 0644 ${B}/bus/dbus.service ${B}/bus/dbus.socket ${D}${systemd_unitdir}/system/
                cd ${D}${systemd_unitdir}/system/dbus.target.wants/
                ln -fs ../dbus.socket ${D}${systemd_unitdir}/system/dbus.target.wants/dbus.socket
                ln -fs ../dbus.socket ${D}${systemd_unitdir}/system/sockets.target.wants/dbus.socket