mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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. (From OE-Core rev: 42ee84c9a8be494943488ebb0bf2048f3abd7abc) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
817a98d74a
commit
01cfae0d8a
@@ -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() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include dbus.inc
|
||||
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
SRC_URI[md5sum] = "99cb057700c0455fb68f8d57902f77ac"
|
||||
SRC_URI[sha256sum] = "caa1a0ded2d0f2e95c1d4ec7e3c8bd44834928c5b0ed41a7189963f3593983bd"
|
||||
|
||||
Reference in New Issue
Block a user