summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Leverton <nick@leverton.org>2010-05-21 21:03:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-21 21:03:39 +0200
commit7810eebb7397a9a8deec6c615dd2b00720fd7bdb (patch)
treefedec0c6770b3767257ab8c1d18fba644c452fc4
parent5faf6627eed1971ff20964601e0f4227ed8ae255 (diff)
avahi: avahi-autopid: make sure TARGET_DIR/var/lib exists
Closes #1801 Signed-off-by: Nick Leverton <nick@leverton.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES1
-rw-r--r--package/avahi/avahi.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 52bb2dc08..ff1089a49 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 5e64047b4..ca55e2786 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)