[poky] [PATCH 0/7] Set ssh server using IMAGE_FEATURES, v3
Scott Garman
scott.a.garman at intel.com
Tue Mar 15 16:11:53 PDT 2011
From: Scott Garman <scott.a.garman at intel.com>
Hi Saul,
It turns out the approach I was previously using to try to change
the ssh server using IMAGE_FEATURES had a fundamental flaw. I
confirmed the problem with Richard, and now take a slightly different
approach where separate tasks are created to use dropbear vs. openssh
as an SSH server. This means we can't set the SSH server explicitly
by overriding a variable in local.conf, but it does improve the
infrastructure to something more sensible and document-able.
This pull request will fix [YOCTO #378].
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/ssh-switch2
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/ssh-switch2
Thanks,
Scott Garman <scott.a.garman at intel.com>
---
Scott Garman (7):
task-base, task-poky-basic, task-poky: Remove hard-coded references
to dropbear
task-poky-ssh-dropbear: new task recipe for dropbear ssh
task-poky-ssh-openssh: new task recipe for openssh ssh
poky-image.bbclass: add new IMAGE_FEATURES for ssh servers
poky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES
poky-image-lsb: add ssh-server-openssh to IMAGE_FEATURES
poky-image-basic: add ssh-server-openssh to IMAGE_FEATURES
meta/classes/poky-image.bbclass | 13 +++++++++++--
meta/recipes-core/tasks/task-base.bb | 8 +-------
meta/recipes-core/tasks/task-poky-ssh-dropbear.bb | 17 +++++++++++++++++
meta/recipes-core/tasks/task-poky-ssh-openssh.bb | 17 +++++++++++++++++
meta/recipes-extended/images/poky-image-basic.bb | 2 +-
meta/recipes-extended/images/poky-image-lsb-dev.bb | 2 +-
meta/recipes-extended/images/poky-image-lsb-sdk.bb | 2 +-
meta/recipes-extended/images/poky-image-lsb.bb | 2 +-
meta/recipes-extended/tasks/task-poky-basic.bb | 3 +--
meta/recipes-sato/tasks/task-poky.bb | 3 +--
10 files changed, 52 insertions(+), 17 deletions(-)
create mode 100644 meta/recipes-core/tasks/task-poky-ssh-dropbear.bb
create mode 100644 meta/recipes-core/tasks/task-poky-ssh-openssh.bb
More information about the poky
mailing list