summaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/dnsmasq.mk
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-12-02 11:49:11 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-06 09:49:09 +0100
commit09be7e24e567c3cb93bec0978a9ee64c396168cc (patch)
tree8931198a723fbc6b5433d643e00f13a7885b0515 /package/dnsmasq/dnsmasq.mk
parent90424fe30b363b0639727cadc1b7cacb3c6089b0 (diff)
downloadbuildroot-09be7e24e567c3cb93bec0978a9ee64c396168cc.tar.gz
buildroot-09be7e24e567c3cb93bec0978a9ee64c396168cc.zip
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>
Diffstat (limited to 'package/dnsmasq/dnsmasq.mk')
-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 0f8db9d68d..fc43abdf0e 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
OpenPOWER on IntegriCloud