aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-05-31 10:27:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-01 18:32:30 +0100
commit42ee84c9a8be494943488ebb0bf2048f3abd7abc (patch)
tree03af1b2c0e7542ed2bccd52b9f9bf3c85d2f6448 /meta/recipes-core/dbus/dbus.inc
parent854b15bf631452150d1979dfd8286b306f108688 (diff)
downloadopenembedded-core-contrib-42ee84c9a8be494943488ebb0bf2048f3abd7abc.tar.gz
dbus 1.4.1: disable sysv script properly when using systemd
OE-core uses 'dbus-1' as initscript name, which no other distribution(-buildsys) does, so we have to take special measures. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta/recipes-core/dbus/dbus.inc')
-rw-r--r--meta/recipes-core/dbus/dbus.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 22514e9e00..fb2f6d49bd 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -89,6 +89,10 @@ do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/dbus-1.init ${D}${sysconfdir}/init.d/dbus-1
+
+ # disable dbus-1 sysv script on systemd installs
+ # nearly all distros call the initscript plain 'dbus', but OE-core is different
+ ln -sf /dev/null ${D}/${base_libdir}/systemd/system/dbus-1.service
}
do_install_virtclass-native() {