aboutsummaryrefslogtreecommitdiff
path: root/package/avahi
diff options
context:
space:
mode:
authorGravatar Nick Leverton <nick@leverton.org>2010-05-21 21:03:39 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-05-21 21:03:39 +0200
commit7810eebb7397a9a8deec6c615dd2b00720fd7bdb (patch)
treefedec0c6770b3767257ab8c1d18fba644c452fc4 /package/avahi
parent5faf6627eed1971ff20964601e0f4227ed8ae255 (diff)
downloadbuildroot-7810eebb7397a9a8deec6c615dd2b00720fd7bdb.tar.gz
buildroot-7810eebb7397a9a8deec6c615dd2b00720fd7bdb.tar.bz2
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/avahi')
-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 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)