From 12a808f2547da361c28e0b07642a4243b9c6fce7 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 8 Mar 2020 16:20:01 -0600 Subject: [PATCH] package/systemd: enable nss-resolve when resolve is enabled Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/systemd/systemd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)