summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-12-02 10:49:11 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-12-06 08:49:09 (GMT)
commit09be7e24e567c3cb93bec0978a9ee64c396168cc (patch)
tree8931198a723fbc6b5433d643e00f13a7885b0515
parent90424fe30b363b0639727cadc1b7cacb3c6089b0 (diff)
downloadbuildroot-09be7e24e567c3cb93bec0978a9ee64c396168cc.tar.gz
buildroot-09be7e24e567c3cb93bec0978a9ee64c396168cc.tar.bz2
dnsmasq: create runtime directory
$(TARGET_DIR)/var/lib/misc/ is the location where dnsmasq stores its lease files. Create it to make the daemon work. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/dnsmasq/dnsmasq.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index 0f8db9d..fc43abd 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -57,6 +57,7 @@ endef
define DNSMASQ_INSTALL_TARGET_CMDS
$(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPT) install
+ mkdir -p $(TARGET_DIR)/var/lib/misc/
endef
define DNSMASQ_UNINSTALL_TARGET_CMDS