classes/image: improve debug-tweaks ssh server configuration
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 16 Jan 2013 17:00:12 +0000 (17:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Jan 2013 13:28:05 +0000 (13:28 +0000)
commitb61e247323495b9fc8db9defd021c83568739f83
treef124c80b2b80ff312235c30114ac859ff4eef4c0
parentb37c27d39a278510edbd82f01a26bec14bd735e8
classes/image: improve debug-tweaks ssh server configuration

Create a single postprocessing function that enables no-password logins
for both openssh and dropbear when debug-tweaks is in IMAGE_FEATURES,
changing its behaviour slightly:
* Run it regardless of whether ssh-server-* are in IMAGE_FEATURES so
  that it still takes effect if these are installed by adding
  dropbear/openssh to IMAGE_INSTALL.
* Enable it to be run from image.bbclass rather than core-image.bbclass
  so that it works for images that are using the former.

Second half of the fix for [YOCTO #2578].

(From OE-Core rev: 0937054e6e3e02565f57e60a8bdc14b0ad62e249)

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