diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-25 10:22:42 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-25 10:22:42 +0100 |
commit | b1c416bed621e4e494410bcd6db214745ca829c3 (patch) | |
tree | 44bd5642929fa0a4f418ae958cd6811dc760bf15 /package/dbus/dbus.mk | |
parent | 6b6bdaed7626b3d4312ae594f8879faa4b9a1977 (diff) | |
download | buildroot-novena-b1c416bed621e4e494410bcd6db214745ca829c3.tar.gz buildroot-novena-b1c416bed621e4e494410bcd6db214745ca829c3.zip |
dbus: fix rebuild for boards where /var/lib isn't a symlink
Based on patch by Sagaert Johan <sagaert.johan@skynet.be>
Dbus rebuilds fails if /var/lib/dbus is a symlink (which it will be),
and the existing workaround only worked if /var/lib is a symlink to
/tmp, which isn't always the case.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dbus/dbus.mk')
-rw-r--r-- | package/dbus/dbus.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index 158aeb571..eb97e767d 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -51,9 +51,9 @@ endif $(eval $(call AUTOTARGETS,package,dbus)) -# fix rebuild if /var/lib is a symlink to /tmp +# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink) $(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD) - rm -rf /tmp/dbus + rm -rf $(TARGET_DIR)/var/lib/dbus touch $@ $(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET) |