# and other messages. See http://www.freedesktop.org/software/dbus/
#
# processname: dbus-daemon
-# pidfile: /var/run/messagebus.pid
+# pidfile: /run/messagebus.pid
#
# Create needed directories.
-[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
+[ -d /run/dbus ] || mkdir -p /run/dbus
[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
[ -d /tmp/dbus ] || mkdir -p /tmp/dbus
echo "done"
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/dbus-daemon
- rm -f /var/run/messagebus.pid
+ rm -f /run/messagebus.pid
fi
}
endef
define DBUS_USERS
- dbus -1 dbus -1 * /var/run/dbus - dbus DBus messagebus user
+ dbus -1 dbus -1 * /run/dbus - dbus DBus messagebus user
endef
DBUS_DEPENDENCIES = host-pkgconf expat
--disable-xml-docs \
--disable-doxygen-docs \
--with-xml=expat \
- --with-system-socket=/var/run/dbus/system_bus_socket \
- --with-system-pid-file=/var/run/messagebus.pid
+ --with-system-socket=/run/dbus/system_bus_socket \
+ --with-system-pid-file=/run/messagebus.pid
ifeq ($(BR2_STATIC_LIBS),y)
DBUS_CONF_OPTS += LIBS='-pthread'