diff options
Diffstat (limited to 'recipes-tizen/pam/pam-extraconf.inc')
-rw-r--r-- | recipes-tizen/pam/pam-extraconf.inc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/recipes-tizen/pam/pam-extraconf.inc b/recipes-tizen/pam/pam-extraconf.inc index 29edb4ca..9db52801 100644 --- a/recipes-tizen/pam/pam-extraconf.inc +++ b/recipes-tizen/pam/pam-extraconf.inc @@ -75,4 +75,17 @@ RPROVIDES_${PN}-modules-extra += "pam-plugin-mail" RPROVIDES_${PN}-modules-extra += "pam-plugin-shells" RPROVIDES_${PN}-modules-extra += "pam-plugin-rootok" RPROVIDES_${PN}-modules-extra += "pam-plugin-keyinit" -RPROVIDES_${PN}-modules-extra += "pam-plugin-loginuid"
\ No newline at end of file +RPROVIDES_${PN}-modules-extra += "pam-plugin-loginuid" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + if [ ! -a $D/var/log/faillog ] ; then + /usr/bin/install -m 600 /dev/null $D/var/log/faillog + fi + if [ ! -a $D/var/log/tallylog ] ; then + /usr/bin/install -m 600 /dev/null $D/var/log/tallylog + fi + +} |