summaryrefslogtreecommitdiffstats
path: root/rules/dnsmasq.make
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2019-06-28 09:48:11 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-06-28 10:07:10 +0200
commit3d5fbf5e6649a607900bb840adf0efa2bd042311 (patch)
treefa9456cf9732df8364d94cf5abbdb45559d077cc /rules/dnsmasq.make
parente44820e2f0f5c79dfaa225b9fbcc18af6bc45df8 (diff)
downloadptxdist-3d5fbf5e6649a607900bb840adf0efa2bd042311.tar.gz
ptxdist-3d5fbf5e6649a607900bb840adf0efa2bd042311.tar.xz
dnsmasq: adapt package's '/var/lib' requirements
Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/dnsmasq.make')
-rw-r--r--rules/dnsmasq.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index 861936329..d9a134cdf 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -104,9 +104,10 @@ endif
@$(call install_alternative, dnsmasq, 0, 0, 0644, /etc/dnsmasq.conf)
-# for the 'dnsmasq.leases' file
+ifdef PTXCONF_DNSMASQ_DHCP
+# # for the 'dnsmasq.leases' file
@$(call install_copy, dnsmasq, 0, 0, 0755, /var/lib/misc)
-
+endif
@$(call install_finish, dnsmasq)
@$(call touch)