Skip to content

Set ssh server using IMAGE_FEATURES, v3

Scott Garman poky 1 version Applied

Status from this message: Merged to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7task-base, task-poky-basic, task-poky: Remove hard-coded references to dropbearmeta/recipes-core/tasks/task-base.bb meta/recipes-extended/tasks/task-poky-basic.bb meta/recipes-sato/tasks/task-poky.bb+3 -110 replies
2/7task-poky-ssh-dropbear: new task recipe for dropbear sshmeta/recipes-core/tasks/task-poky-ssh-dropbear.bb+17 -03 replies
3/7task-poky-ssh-openssh: new task recipe for openssh sshmeta/recipes-core/tasks/task-poky-ssh-openssh.bb+17 -01 reply
4/7poky-image.bbclass: add new IMAGE_FEATURES for ssh serversmeta/classes/poky-image.bbclass+10 -10 replies
5/7poky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURESmeta/classes/poky-image.bbclass+1 -10 replies
6/7poky-image-lsb: add ssh-server-openssh to IMAGE_FEATURESmeta/recipes-extended/images/poky-image-lsb-dev.bb meta/recipes-extended/images/poky-image-lsb-sdk.bb meta/recipes-extended/images/poky-image-lsb.bb+3 -30 replies
7/7poky-image-basic: add ssh-server-openssh to IMAGE_FEATURESmeta/recipes-extended/images/poky-image-basic.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Set ssh server using IMAGE_FEATURES, v3

From: Scott Garman <[email protected]>

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 <[email protected]>
---

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