diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-03-02 18:34:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-02 12:25:20 +0000 |
commit | 8ac3b74dc9ec968fe85c93e32105e304830736f4 (patch) | |
tree | 082530569d9fa2c08a860afca81a9dce916d3ded /scripts/runqemu-ifdown | |
parent | 6fd4699d077736c54eb3aa31b62593cc5bd82fdc (diff) | |
download | poky-8ac3b74dc9ec968fe85c93e32105e304830736f4.tar.gz |
V2 Fix libpam's chmod
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]
(From OE-Core rev: 0725c7f01b173b1cc2090f4a03a274c7017b8a1a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-ifdown')
0 files changed, 0 insertions, 0 deletions