package/nss-mdns: move hook from post-install to finalize
authorVincent Prince <vincent.prince.fr@gmail.com>
Tue, 29 May 2018 08:00:11 +0000 (10:00 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 20 Oct 2018 23:50:35 +0000 (01:50 +0200)
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>
package/nss-mdns/nss-mdns.mk

index 407b9426b2c4d157708fe703549af0173d82a051..ee666c76a00c7b9acd8cc666a5d379c0d9106164 100644 (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))