package/systemd: enable nss-resolve when resolve is enabled
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c2ba6105a7
commit
12a808f254
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user