package/systemd: Add optional support for resolved
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sat, 2 Jul 2016 13:59:08 +0000 (15:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 14:45:34 +0000 (16:45 +0200)
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in
package/systemd/systemd.mk

index b00ef2144fe0bd2d1ca4316df102716fa07c323b..fcf88533888746cb6af4d6770a7920dd295f22af 100644 (file)
@@ -287,6 +287,17 @@ config BR2_PACKAGE_SYSTEMD_NETWORKD
 
          http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
 
+config BR2_PACKAGE_SYSTEMD_RESOLVED
+       bool "enable resolve daemon"
+       default y
+       help
+         systemd-resolved is a system service that provides network
+         name resolution to local applications. It implements a
+         caching and validating DNS/DNSSEC stub resolver, as well as
+         an LLMNR resolver and responder.
+
+         http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
+
 config BR2_PACKAGE_SYSTEMD_TIMESYNCD
        bool "enable SNTP client"
        help
index cca3f0532b8ded684a088cdf57908f689fc7a2a3..6f5a610715a470bcafcb594c6e1f5837062f0499 100644 (file)
@@ -296,6 +296,12 @@ define SYSTEMD_INSTALL_SERVICE_NETWORK
 endef
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y)
+SYSTEMD_CONF_OPTS += --enable-resolved
+else
+SYSTEMD_CONF_OPTS += --disable-resolved
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_TIMESYNCD),y)
 SYSTEMD_CONF_OPTS += --enable-timesyncd
 define SYSTEMD_INSTALL_SERVICE_TIMESYNC