diff options
Diffstat (limited to 'meta/recipes-extended/pam/libpam_1.1.5.bb')
-rw-r--r-- | meta/recipes-extended/pam/libpam_1.1.5.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.5.bb b/meta/recipes-extended/pam/libpam_1.1.5.bb index 283f477eb9..8dd5ac5251 100644 --- a/meta/recipes-extended/pam/libpam_1.1.5.bb +++ b/meta/recipes-extended/pam/libpam_1.1.5.bb | |||
@@ -9,7 +9,7 @@ SECTION = "base" | |||
9 | LICENSE = "GPLv2+ | BSD" | 9 | LICENSE = "GPLv2+ | BSD" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" |
11 | 11 | ||
12 | PR = "r2" | 12 | PR = "r3" |
13 | 13 | ||
14 | SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ | 14 | SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ |
15 | file://99_pam \ | 15 | file://99_pam \ |
@@ -85,10 +85,7 @@ do_install() { | |||
85 | 85 | ||
86 | install -d ${D}${sysconfdir}/pam.d/ | 86 | install -d ${D}${sysconfdir}/pam.d/ |
87 | install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ | 87 | install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ |
88 | } | ||
89 | 88 | ||
90 | pkg_postinst_pam-plugin-unix () { | 89 | # The lsb requires unix_chkpwd has setuid permission |
91 | # below is necessary to allow unix_chkpwd get user info from shadow file | 90 | chmod 4755 ${D}${sbindir}/unix_chkpwd |
92 | # on lsb images | ||
93 | chmod 4755 ${sbindir}/unix_chkpwd | ||
94 | } | 91 | } |