summaryrefslogtreecommitdiff
path: root/packages/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dbus')
-rw-r--r--packages/dbus/dbus-1.0.2/.mtn2git_empty (renamed from packages/dbus/dbus-0.95/.mtn2git_empty)0
-rw-r--r--packages/dbus/dbus-1.0.2/cross.patch (renamed from packages/dbus/dbus-0.95/cross.patch)0
-rw-r--r--packages/dbus/dbus-1.0.2/dbus-1.init (renamed from packages/dbus/dbus-0.95/dbus-1.init)8
-rw-r--r--packages/dbus/dbus-1.0.2/fix-install-daemon.patch (renamed from packages/dbus/dbus-0.95/fix-install-daemon.patch)0
-rw-r--r--packages/dbus/dbus_1.0.2.bb2
5 files changed, 10 insertions, 0 deletions
diff --git a/packages/dbus/dbus-0.95/.mtn2git_empty b/packages/dbus/dbus-1.0.2/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/dbus/dbus-0.95/.mtn2git_empty
+++ b/packages/dbus/dbus-1.0.2/.mtn2git_empty
diff --git a/packages/dbus/dbus-0.95/cross.patch b/packages/dbus/dbus-1.0.2/cross.patch
index 268a3ae3de..268a3ae3de 100644
--- a/packages/dbus/dbus-0.95/cross.patch
+++ b/packages/dbus/dbus-1.0.2/cross.patch
diff --git a/packages/dbus/dbus-0.95/dbus-1.init b/packages/dbus/dbus-1.0.2/dbus-1.init
index 4829c0d4a8..38e7574ad5 100644
--- a/packages/dbus/dbus-0.95/dbus-1.init
+++ b/packages/dbus/dbus-1.0.2/dbus-1.init
@@ -10,6 +10,7 @@ NAME=dbus
DAEMONUSER=messagebus
PIDDIR=/var/run/dbus
PIDFILE=$PIDDIR/pid
+UUIDDIR=/var/lib/dbus
DESC="system message bus"
EVENTDIR=/etc/dbus-1/event.d
@@ -40,8 +41,15 @@ start_it_up()
rm -f $PIDFILE
fi
fi
+
+ if [ ! -d $UUIDDIR ]; then
+ mkdir -p $UUIDDIR
+ chown $DAEMONUSER $UUIDDIR
+ chgrp $DAEMONUSER $UUIDDIR
+ fi
dbus-uuidgen --ensure
+
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--user $DAEMONUSER --exec $DAEMON -- --system $PARAMS
diff --git a/packages/dbus/dbus-0.95/fix-install-daemon.patch b/packages/dbus/dbus-1.0.2/fix-install-daemon.patch
index c31786357d..c31786357d 100644
--- a/packages/dbus/dbus-0.95/fix-install-daemon.patch
+++ b/packages/dbus/dbus-1.0.2/fix-install-daemon.patch
diff --git a/packages/dbus/dbus_1.0.2.bb b/packages/dbus/dbus_1.0.2.bb
new file mode 100644
index 0000000000..7345f22bb5
--- /dev/null
+++ b/packages/dbus/dbus_1.0.2.bb
@@ -0,0 +1,2 @@
+require dbus.inc
+