]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/dhcp: dhcp server: select systemd tmpfile support when systemd is used
authorRomain Naour <romain.naour@gmail.com>
Fri, 26 May 2017 22:13:48 +0000 (00:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 24 Jun 2017 21:27:12 +0000 (23:27 +0200)
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@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dhcp/Config.in

index d09256aad22ed5b50b8470a649c04b3b6a8afb1e..534083090222761ff6b14a5a90a304b03c0a8a94 100644 (file)
@@ -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.