summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2014-02-04 12:46:19 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-13 23:18:41 +0100
commit55d1c953dc17a13e848951da88f45c673eafdda9 (patch)
tree64683a68f540a14f1c6ea2c411e236931a16ed1f
parentc2be5638061caf256df64d68dd016e6ca8916a0f (diff)
downloadbuildroot-55d1c953dc17a13e848951da88f45c673eafdda9.tar.gz
buildroot-55d1c953dc17a13e848951da88f45c673eafdda9.zip
dbus: ensure dbus user is created
Since we are changing the default dbus user, make sure this user is consistently created. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/dbus/dbus.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 74e2041424..e8b3da7a86 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
OpenPOWER on IntegriCloud