mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-05 11:23:32 +08:00
avahi: make sure destination dirs exists
This commit is contained in:
parent
e2e4950b2d
commit
7fdbdfc559
@ -151,20 +151,19 @@ $(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
|
||||
mkdir -p $(TARGET_DIR)/etc/avahi
|
||||
mkdir -p $(TARGET_DIR)/etc/init.d
|
||||
mkdir -p $(TARGET_DIR)/var/lib
|
||||
mkdir -p $(TARGET_DIR)/usr/share/udhcpc
|
||||
mkdir -p $(addprefix $(TARGET_DIR),\
|
||||
/etc/avahi /etc/init.d /var/lib /usr/share/udhcpc /usr/sbin)
|
||||
cp -af $(STAGING_DIR)/etc/avahi/avahi-autoipd.action $(TARGET_DIR)/etc/avahi/
|
||||
cp -af package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
cp -af package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $(TARGET_DIR)/usr/sbin/avahi-autoipd
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $@
|
||||
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
$(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed
|
||||
mkdir -p $(TARGET_DIR)/etc/avahi/services $(TARGET_DIR)/usr/lib
|
||||
mkdir -p $(addprefix $(TARGET_DIR),\
|
||||
/etc/avahi/services /usr/lib /usr/bin /usr/sbin)
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so*
|
||||
cp -af $(STAGING_DIR)/etc/avahi/avahi-daemon.conf $(TARGET_DIR)/etc/avahi/
|
||||
@ -176,8 +175,7 @@ ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \
|
||||
$(TARGET_DIR)/etc/dbus-1/system.d/
|
||||
endif
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-daemon \
|
||||
$(TARGET_DIR)/usr/sbin/avahi-daemon
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-daemon $@
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
avahi: host-autoconf uclibc libdaemon $(if $(BR2_ENABLE_LOCALE),gettext libintl) $(AVAHI_TARGETS)
|
||||
|
Loading…
Reference in New Issue
Block a user