Commit b1c416be authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 6b6bdaed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
2009.11, Not released yet:

	Updated/fixed packages: gvfs
	Updated/fixed packages: dbus, gvfs

2009.11-rc1, Released November 23rd, 2009:

+2 −2
Original line number Diff line number Diff line
@@ -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)