diff mbox

[2/2] dbus: ensure dbus user is created

Message ID 1391514379-7431-2-git-send-email-s.martin49@gmail.com
State Accepted
Commit 55d1c953dc17a13e848951da88f45c673eafdda9
Headers show

Commit Message

Samuel Martin Feb. 4, 2014, 11:46 a.m. UTC
Since we are changing the default dbus user, make sure this user is
consistently created.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 package/dbus/dbus.mk | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 74e2041..e8b3da7 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -30,6 +30,10 @@  DBUS_CONF_OPT = --with-dbus-user=dbus \
 		--with-system-socket=/var/run/dbus/system_bus_socket \
 		--with-system-pid-file=/var/run/messagebus.pid
 
+define DBUS_USERS
+	dbus -1 dbus -1 * /var/run/dbus - dbus DBus messagebus user
+endef
+
 ifeq ($(BR2_PREFER_STATIC_LIB),y)
 DBUS_CONF_OPT += LIBS='-lpthread'
 endif