From: Maxime Hadjinlian Date: Sat, 2 Jul 2016 13:59:08 +0000 (+0200) Subject: package/systemd: Add optional support for resolved X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db04c468d38c64ed16e8e2690c44331533a7b1ed;p=buildroot.git package/systemd: Add optional support for resolved Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/Config.in b/package/systemd/Config.in index b00ef2144f..fcf8853388 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -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 diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index cca3f0532b..6f5a610715 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -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