[OE-core] [PATCH 1/1] V2 Fix libpam's chmod
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Mar 2 12:25:09 UTC 2012
On Fri, 2012-03-02 at 18:34 +0800, Robert Yang wrote:
> The libpam's has an error when generating the rootfs:
>
> chmod: cannot access `/usr/sbin/unix_chkpwd': No such file or directory
>
> This is because the following code in libpam_1.1.5.bb:
>
> pkg_postinst_pam-plugin-unix () {
> # below is necessary to allow unix_chkpwd get user info from shadow file
> # on lsb images
> chmod 4755 ${sbindir}/unix_chkpwd
> }
>
> This is to set the setuid permission for unix_chkpwd (the lsb test
> requires this), but it lacks a "${D}", and we can do this in the install
> stage.
>
> [YOCTO #2049]
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
> meta/recipes-extended/pam/libpam_1.1.5.bb | 9 +++------
> 1 files changed, 3 insertions(+), 6 deletions(-)
Merged to master, thanks.
Richard
More information about the Openembedded-core
mailing list