avahi: make sure /etc/dbus-1/system.d exists in target dir

This commit is contained in:
Peter Korsgaard 2008-03-31 19:43:50 +00:00
parent 6b8ffd5024
commit 1b6ffcb7ed

View 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