summaryrefslogtreecommitdiff
path: root/package/dbus/files/dbus.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/dbus/files/dbus.postinst')
-rw-r--r--package/dbus/files/dbus.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/dbus/files/dbus.postinst b/package/dbus/files/dbus.postinst
index 8dd0a50c8..713c1c63a 100644
--- a/package/dbus/files/dbus.postinst
+++ b/package/dbus/files/dbus.postinst
@@ -4,3 +4,6 @@ gid=$(get_next_gid)
add_group messagebus $gid
add_user messagebus $(get_next_uid) $gid /var/run/dbus
add_rcconf dbus dbus NO
+echo Generating UUID
+mkdir /lib/dbus /var/lib && ln -sf /lib/dbus /var/lib/dbus
+dbus-uuidgen --ensure