From: Nick Leverton Date: Fri, 21 May 2010 19:03:39 +0000 (+0200) Subject: avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7810eebb7397a9a8deec6c615dd2b00720fd7bdb;p=buildroot.git avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists Closes #1801 Signed-off-by: Nick Leverton Signed-off-by: Peter Korsgaard --- diff --git a/CHANGES b/CHANGES index 52bb2dc083..ff1089a492 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ Issues resolved (http://bugs.uclibc.org): #1693: NTP trys IPV6 even if not configured error: 'IPV6_MULTICAST... + #1801: Avahi-autoipd doesn't create TARGET_DIR/var/lib 2010.05-rc2, Released May 11th, 2010: diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index 5e64047b4b..ca55e27861 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -144,6 +144,7 @@ ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y) $(INSTALL) -D -m 0755 package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script $(INSTALL) -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/ rm -f $(TARGET_DIR)/var/lib/avahi-autoipd + $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/lib ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd endif ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)