dnsmasq: create runtime directory
PATCH 1/1 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 <[email protected]>
--- package/dnsmasq/dnsmasq.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
package/dnsmasq/dnsmasq.mk +1 -0
@@ -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
Signature · 1 line
1.7.7.3
PATCH 1/1 dnsmasq: create runtime directory
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel Mack <[email protected]> writes:
Daniel> $(TARGET_DIR)/var/lib/misc/ is the location where dnsmasq stores its Daniel> lease files. Create it to make the daemon work.
Committed, thanks. We should probably make /var/lib/misc a symlink to /tmp for the default fs skeleton so stuff like this works with readonly fs, but your patch doesn't hurt.
Signature · 1 line
Bye, Peter Korsgaard