[Buildroot] [git commit branch/2017.05.x] package/dhcp: dhcp server: select systemd tmpfile support when systemd is used
Peter Korsgaard
peter at korsgaard.com
Mon Jun 26 20:23:30 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=1af75f592b117d904224662ac8ba9a3739b759fb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.05.x
tmpfile support is optional in systemd but the dhcp server install it's
config file in $(TARGET_DIR)/usr/lib/tmpfiles.d directory when systemd
is used as init system.
So it seems that dhcp server require tmpfile support for systemd based
system.
Signed-off-by: Romain Naour <romain.naour at gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 51a24f8d71afef70ef42ab3e062277f2d602a278)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/dhcp/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in
index d09256a..5340830 100644
--- a/package/dhcp/Config.in
+++ b/package/dhcp/Config.in
@@ -12,6 +12,7 @@ if BR2_PACKAGE_DHCP
config BR2_PACKAGE_DHCP_SERVER
bool "dhcp server"
+ select BR2_PACKAGE_SYSTEMD_TMPFILES if BR2_PACKAGE_SYSTEMD
help
DHCP server from the ISC DHCP distribution.
More information about the buildroot
mailing list