From: James Hilliard Date: Sun, 8 Mar 2020 22:20:01 +0000 (-0600) Subject: package/systemd: enable nss-resolve when resolve is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12a808f2547da361c28e0b07642a4243b9c6fce7;p=buildroot.git package/systemd: enable nss-resolve when resolve is enabled Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 009f599c10..5f6c8a60bb 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -361,10 +361,10 @@ define SYSTEMD_INSTALL_RESOLVCONF_HOOK ln -sf ../run/systemd/resolve/resolv.conf \ $(TARGET_DIR)/etc/resolv.conf endef -SYSTEMD_CONF_OPTS += -Dresolve=true +SYSTEMD_CONF_OPTS += -Dnss-resolve=true -Dresolve=true SYSTEMD_RESOLVED_USER = systemd-resolve -1 systemd-resolve -1 * - - - Network Name Resolution Manager else -SYSTEMD_CONF_OPTS += -Dresolve=false +SYSTEMD_CONF_OPTS += -Dnss-resolve=false -Dresolve=false endif ifeq ($(BR2_PACKAGE_GNUTLS),y)