mirror of
https://git.yoctoproject.org/poky
synced 2026-04-08 08:02:23 +02:00
dbus: fixed mode if systemd service file
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. (From OE-Core rev: 67e966c2576b360ee132989bee32d3080305a099) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b46262156a
commit
445bd3b73b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user