package/systemd: fix /etc/resolv.conf link on per-package build
Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=13271 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
9bb1034455
commit
511fbda0be
@ -523,8 +523,7 @@ endef
|
||||
|
||||
SYSTEMD_POST_INSTALL_TARGET_HOOKS += \
|
||||
SYSTEMD_INSTALL_INIT_HOOK \
|
||||
SYSTEMD_INSTALL_MACHINEID_HOOK \
|
||||
SYSTEMD_INSTALL_RESOLVCONF_HOOK
|
||||
SYSTEMD_INSTALL_MACHINEID_HOOK
|
||||
|
||||
define SYSTEMD_INSTALL_IMAGES_CMDS
|
||||
$(SYSTEMD_INSTALL_BOOT_FILES)
|
||||
@ -556,7 +555,9 @@ define SYSTEMD_INSTALL_NSSCONFIG_HOOK
|
||||
$(TARGET_DIR)/etc/nsswitch.conf
|
||||
endef
|
||||
|
||||
SYSTEMD_TARGET_FINALIZE_HOOKS += SYSTEMD_INSTALL_NSSCONFIG_HOOK
|
||||
SYSTEMD_TARGET_FINALIZE_HOOKS += \
|
||||
SYSTEMD_INSTALL_NSSCONFIG_HOOK \
|
||||
SYSTEMD_INSTALL_RESOLVCONF_HOOK
|
||||
|
||||
ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),)
|
||||
# systemd provides multiple units to autospawn getty as neede
|
||||
|
Loading…
Reference in New Issue
Block a user