diff options
Diffstat (limited to 'meta-app-framework/recipes-core')
-rw-r--r-- | meta-app-framework/recipes-core/nss-localuser/nss-localuser_0.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-app-framework/recipes-core/nss-localuser/nss-localuser_0.1.bb b/meta-app-framework/recipes-core/nss-localuser/nss-localuser_0.1.bb index 62e163f97..de3651dc6 100644 --- a/meta-app-framework/recipes-core/nss-localuser/nss-localuser_0.1.bb +++ b/meta-app-framework/recipes-core/nss-localuser/nss-localuser_0.1.bb @@ -23,7 +23,7 @@ do_install() { make nssdir=${D}${libdir} install } -pkg_postinst_${PN} () { +pkg_postinst_ontarget_${PN} () { sed -e '/^hosts:/s/\<localuser\>\s*//' \ -e 's/\(^hosts:\s\s*\)\(.*\)/\1localuser \2/' \ -i $D${sysconfdir}/nsswitch.conf |