avahi: make sure /etc/dbus-1/system.d exists in target dir
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 31 Mar 2008 19:43:50 +0000 (19:43 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 31 Mar 2008 19:43:50 +0000 (19:43 -0000)
package/avahi/avahi.mk

index 8bda6d3aa76cbe6113d76fb59ad24333298979c2..db00fb58fce46242434d27d3fb04ec991d7ab82d 100644 (file)
@@ -171,6 +171,7 @@ $(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed
 ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
        cp -dpf $(STAGING_DIR)/usr/bin/avahi-* $(TARGET_DIR)/usr/bin
        $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/avahi-*
+       mkdir -p $(TARGET_DIR)/etc/dbus-1/system.d/
        cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \
                $(TARGET_DIR)/etc/dbus-1/system.d/
 endif