[Buildroot] [git commit] package/dhcp: dhcp server: select systemd tmpfile support when systemd is used
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jun 24 21:27:12 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=51a24f8d71afef70ef42ab3e062277f2d602a278
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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>
---
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