avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists
authorNick Leverton <nick@leverton.org>
Fri, 21 May 2010 19:03:39 +0000 (21:03 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 21 May 2010 19:03:39 +0000 (21:03 +0200)
Closes #1801

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/avahi/avahi.mk

diff --git a/CHANGES b/CHANGES
index 52bb2dc083edd952407f5357f1fcca2a3ff8724c..ff1089a492b2077801ea1fffee07c357d47b1202 100644 (file)
--- 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:
 
index 5e64047b4bdb92a6e9e6f3d02f1c4bbbb6cc3184..ca55e27861e73db367c9a4c42622f286ea600737 100644 (file)
@@ -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)