aboutsummaryrefslogtreecommitdiff
path: root/package/dbus/S30dbus
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-23 09:44:07 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-23 09:44:07 +0000
commit073db18bac7848650e071ee85f2e1ccad6c18c3e (patch)
tree279afcaf53f08ef652b5c3a35c0cee7871c7f3f2 /package/dbus/S30dbus
parent9611fd600bbc2e6458c3a7bad1ca651b34940cc6 (diff)
downloadbuildroot-073db18bac7848650e071ee85f2e1ccad6c18c3e.tar.gz
buildroot-073db18bac7848650e071ee85f2e1ccad6c18c3e.tar.bz2
dbus: fix for read-only rootfs
Similar to how it's handled by avahi - Make sure /var/lib/dbus is a symlink to /tmp/dbus.
Diffstat (limited to 'package/dbus/S30dbus')
-rwxr-xr-xpackage/dbus/S30dbus1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/dbus/S30dbus b/package/dbus/S30dbus
index 3b1044bff7..d764e2969b 100755
--- a/package/dbus/S30dbus
+++ b/package/dbus/S30dbus
@@ -16,6 +16,7 @@
# Create needed directories.
[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
+[ -d /tmp/dbus ] || mkdir -p /tmp/dbus
RETVAL=0