summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Prince <vincent.prince.fr@gmail.com>2018-05-29 10:00:11 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-10-21 01:50:35 +0200
commit6433cefa5c22e879fa2df0d3501a7492c4b9019c (patch)
tree3a6ad0ef7e12ce8be05d6bf4d00924c453bc9f68
parentcf43e36149c9e47441829164ea067df6bd528e00 (diff)
downloadbuildroot-6433cefa5c22e879fa2df0d3501a7492c4b9019c.tar.gz
buildroot-6433cefa5c22e879fa2df0d3501a7492c4b9019c.zip
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 <vincent.prince.fr@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/nss-mdns/nss-mdns.mk2
1 files changed, 1 insertions, 1 deletions
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))
OpenPOWER on IntegriCloud