Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] dnsmasq: create runtime directory
@ 2011-12-02 10:49 Daniel Mack
  2011-12-06  8:48 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Mack @ 2011-12-02 10:49 UTC (permalink / raw)
  To: buildroot

$(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>
---
 package/dnsmasq/dnsmasq.mk |    1 +
 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
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-06  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 10:49 [Buildroot] [PATCH] dnsmasq: create runtime directory Daniel Mack
2011-12-06  8:48 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox