]> code.ossystems Code Review - openembedded-core.git/commit
classes/image: disable pam nullok_secure with debug-tweaks
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 21 Mar 2014 16:31:31 +0000 (16:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Mar 2014 17:14:53 +0000 (17:14 +0000)
commita973fe10305c7d080d5c017ddd9b2bd860221659
tree845e79959aa7da1786db0441e91d83a3b54bbe02
parent302b7d3e09b3a393388b3dca3a5039c04ded3f80
classes/image: disable pam nullok_secure with debug-tweaks

If you want passwordless logins to work with pam enabled, then you can't
have "nullok_secure" enabled on pam_unix entries. Add some
postprocessing to change these to "nullok" when debug-tweaks is in
IMAGE_FEATURES, in order to make passwordless logins with PAM work
again.

Fixes [YOCTO #5973].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass