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>
This commit is contained in:
Vincent Prince 2018-05-29 10:00:11 +02:00 committed by Peter Korsgaard
parent cf43e36149
commit 6433cefa5c

View File

@ -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))