summaryrefslogtreecommitdiffstats
path: root/package/dbus/dbus.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-23 09:44:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-23 09:44:07 +0000
commit073db18bac7848650e071ee85f2e1ccad6c18c3e (patch)
tree279afcaf53f08ef652b5c3a35c0cee7871c7f3f2 /package/dbus/dbus.mk
parent9611fd600bbc2e6458c3a7bad1ca651b34940cc6 (diff)
downloadbuildroot-novena-073db18bac7848650e071ee85f2e1ccad6c18c3e.tar.gz
buildroot-novena-073db18bac7848650e071ee85f2e1ccad6c18c3e.zip
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/dbus.mk')
-rw-r--r--package/dbus/dbus.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index ef5be59b9..b04d67ae5 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -52,6 +52,8 @@ $(eval $(call AUTOTARGETS,package,dbus))
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
+ rm -rf $(TARGET_DIR)/var/lib/dbus
+ ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
touch $@