[oe-commits] Enrico Scholz : dbus: fixed mode if systemd service file

git at git.openembedded.org git at git.openembedded.org
Fri Jun 13 17:10:59 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 67e966c2576b360ee132989bee32d3080305a099
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=67e966c2576b360ee132989bee32d3080305a099

Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date:   Thu Jun 12 15:34:26 2014 +0200

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.

Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/dbus/dbus.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index be0131c..5b2a056 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -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



More information about the Openembedded-commits mailing list