summaryrefslogtreecommitdiff
path: root/package
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 /package
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>
Diffstat (limited to 'package')
-rw-r--r--package/avahi/avahi.mk1
1 files changed, 1 insertions, 0 deletions
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)