diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/dbus/dbus-1.6.4/dbus-1.init | 2 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-core/dbus/dbus-1.6.4/dbus-1.init b/meta/recipes-core/dbus/dbus-1.6.4/dbus-1.init index 17b58ed18f..64f2170255 100644 --- a/meta/recipes-core/dbus/dbus-1.6.4/dbus-1.init +++ b/meta/recipes-core/dbus/dbus-1.6.4/dbus-1.init | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | set -e | 17 | set -e |
18 | 18 | ||
19 | DAEMON=/usr/bin/dbus-daemon | 19 | DAEMON=@bindir@/dbus-daemon |
20 | NAME=dbus | 20 | NAME=dbus |
21 | DAEMONUSER=messagebus # must match /etc/dbus-1/system.conf | 21 | DAEMONUSER=messagebus # must match /etc/dbus-1/system.conf |
22 | PIDFILE=/var/run/messagebus.pid # must match /etc/dbus-1/system.conf | 22 | PIDFILE=/var/run/messagebus.pid # must match /etc/dbus-1/system.conf |
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 8f35f56d1b..5c99e11b3c 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
@@ -10,7 +10,7 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X | |||
10 | DEPENDS_virtclass-native = "expat-native virtual/libintl-native" | 10 | DEPENDS_virtclass-native = "expat-native virtual/libintl-native" |
11 | DEPENDS_virtclass-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" | 11 | DEPENDS_virtclass-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" |
12 | 12 | ||
13 | INC_PR = "r3" | 13 | INC_PR = "r4" |
14 | 14 | ||
15 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | 15 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ |
16 | file://tmpdir.patch; \ | 16 | file://tmpdir.patch; \ |
@@ -79,7 +79,8 @@ do_install() { | |||
79 | autotools_do_install | 79 | autotools_do_install |
80 | 80 | ||
81 | install -d ${D}${sysconfdir}/init.d | 81 | install -d ${D}${sysconfdir}/init.d |
82 | install -m 0755 ${WORKDIR}/dbus-1.init ${D}${sysconfdir}/init.d/dbus-1 | 82 | sed 's:@bindir@:${bindir}:' < ${WORKDIR}/dbus-1.init >${WORKDIR}/dbus-1.init.sh |
83 | install -m 0755 ${WORKDIR}/dbus-1.init.sh ${D}${sysconfdir}/init.d/dbus-1 | ||
83 | 84 | ||
84 | install -d ${D}${sysconfdir}/default/volatiles | 85 | install -d ${D}${sysconfdir}/default/volatiles |
85 | echo "d messagebus messagebus 0755 ${localstatedir}/run/dbus none" \ | 86 | echo "d messagebus messagebus 0755 ${localstatedir}/run/dbus none" \ |