From b1c416bed621e4e494410bcd6db214745ca829c3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 25 Nov 2009 10:22:42 +0100 Subject: dbus: fix rebuild for boards where /var/lib isn't a symlink Based on patch by Sagaert Johan 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 --- CHANGES | 2 +- package/dbus/dbus.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index a3d65337f..cf623e35d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,6 @@ 2009.11, Not released yet: - Updated/fixed packages: gvfs + Updated/fixed packages: dbus, gvfs 2009.11-rc1, Released November 23rd, 2009: 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) -- cgit v1.2.3