commit 855a6824aac3e89949ce4459cab8b334160af56f Author: Matt Housh <jaeger@crux.nu> Date: Sat Dec 23 13:03:14 2006 -0600 dbus: added machine-id check/generation to dbus startup diff --git a/dbus/.md5sum b/dbus/.md5sum index 894211d..1e22cea 100644 --- a/dbus/.md5sum +++ b/dbus/.md5sum @@ -1,3 +1,3 @@ 23bc5ff22fe4f9a208d65fbbfd489ad9 30-dbus.launch 0552a9b54beb4a044951b7cdbc8fc855 dbus-1.0.2.tar.gz -0dc978461c9f75b6203f7c0cd0481b22 rc.dbus +f3d2047d1a05cc0c6fcb5afaea4605a5 rc.dbus diff --git a/dbus/Pkgfile b/dbus/Pkgfile index 89ddd3a..a68e7e5 100644 --- a/dbus/Pkgfile +++ b/dbus/Pkgfile @@ -5,7 +5,7 @@ name=dbus version=1.0.2 -release=2 +release=3 source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \ rc.dbus 30-dbus.launch) diff --git a/dbus/rc.dbus b/dbus/rc.dbus index 0923b8d..be0975e 100644 --- a/dbus/rc.dbus +++ b/dbus/rc.dbus @@ -5,6 +5,10 @@ case $1 in start) + if [ ! -f /var/lib/dbus/machine-id ] + then + /usr/bin/dbus-uuidgen --ensure + fi /usr/sbin/dbus-daemon --system ;; stop)