From: Vincent Prince Date: Tue, 29 May 2018 08:00:11 +0000 (+0200) Subject: package/nss-mdns: move hook from post-install to finalize X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6433cefa5c22e879fa2df0d3501a7492c4b9019c;p=buildroot.git package/nss-mdns: move hook from post-install to finalize Both nss-mdns and nss-myhostname patch nsswitch.conf file so it needs to be done at the final stage to support per-package host/target directories. [Peter: reword] Signed-off-by: Vincent Prince Signed-off-by: Peter Korsgaard --- diff --git a/package/nss-mdns/nss-mdns.mk b/package/nss-mdns/nss-mdns.mk index 407b9426b2..ee666c76a0 100644 --- a/package/nss-mdns/nss-mdns.mk +++ b/package/nss-mdns/nss-mdns.mk @@ -17,6 +17,6 @@ define NSS_MDNS_INSTALL_CONFIG $(TARGET_DIR)/etc/nsswitch.conf endef -NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG +NSS_MDNS_TARGET_FINALIZE_HOOKS += NSS_MDNS_INSTALL_CONFIG $(eval $(autotools-package))