summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2014-06-12 15:34:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-13 12:55:31 +0100
commit67e966c2576b360ee132989bee32d3080305a099 (patch)
tree742652c0a0f1e4e09a8c8cccf607a37f8dba18a8
parent0eeeb40d2af99448c3b94047f26d33a9983a221b (diff)
downloadopenembedded-core-contrib-67e966c2576b360ee132989bee32d3080305a099.tar.gz
openembedded-core-contrib-67e966c2576b360ee132989bee32d3080305a099.tar.bz2
openembedded-core-contrib-67e966c2576b360ee132989bee32d3080305a099.zip
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@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dbus/dbus.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index be0131c3d8..5b2a056511 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