dbus: fix target installation with BR2_HAVE_DEVFILES

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin 2010-01-27 02:09:03 +01:00 committed by Peter Korsgaard
parent b732fe6db6
commit 3470b376f2
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
New packages: libcdaudio, libdvdnav, libdvdread, hostapd, tcpreplay
Updated/fixed packages: at, autoconf, bash, bind, binutils, bootutils,
busybox, directfb, dnsmasq, e2fsprogs, gstreamer, gperf,
busybox, dbus, directfb, dnsmasq, e2fsprogs, gstreamer, gperf,
gst-plugins-bad, gvfs, flex, hal, iptables, iw, jpeg, kismet, libfuse,
libglib2, libpcap, libungif, libxml2, libxslt, lighttpd, mesa, mpg123,
mtd-utils, neon, netstat-nat, openvpn, pcre, qt, readline, rpm,

View File

@ -81,7 +81,9 @@ $(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
touch $@
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
ifneq ($(BR2_HAVE_DEVFILES),y)
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
endif
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