All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] packagegroup-core-ssh-dropbear: Add openssh-sftp-server recommendation
@ 2022-06-24 13:58 Richard Purdie
  2022-06-24 14:34 ` [OE-core] " Luca Ceresoli
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2022-06-24 13:58 UTC (permalink / raw)
  To: openembedded-core

Seems sad to have to do this but openssh is moving to use sftp instead
of scp to move files. This means scp from Fedora 36 will no longer be
able to move files to/from a dropbear based image. This breaks a number
of our key QA tests and I suspect will cause users pain too.

The sftp server from openssh is small (200kb uncompressed) and standalone
so adding it to the packagegroup seems to be the best way to preserve user
sanity. If people really don't want it, they can just use dropbear instead
of the packageground.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb | 1 +
 1 file changed, 1 insertion(+)

v2: Make a reccomentation, tweak commit message


diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
index 4f844ad9255..d06c6a56095 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
@@ -4,3 +4,4 @@ PR = "r1"
 inherit packagegroup
 
 RDEPENDS:${PN} = "dropbear"
+RRECOMMENDS:${PN} = "openssh-sftp-server"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core] [PATCH v2] packagegroup-core-ssh-dropbear: Add openssh-sftp-server recommendation
  2022-06-24 13:58 [PATCH v2] packagegroup-core-ssh-dropbear: Add openssh-sftp-server recommendation Richard Purdie
@ 2022-06-24 14:34 ` Luca Ceresoli
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Ceresoli @ 2022-06-24 14:34 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

Hi Richard,

On Fri, 24 Jun 2022 14:58:17 +0100
"Richard Purdie" <richard.purdie@linuxfoundation.org> wrote:

> Seems sad to have to do this but openssh is moving to use sftp instead
> of scp to move files. This means scp from Fedora 36 will no longer be
> able to move files to/from a dropbear based image. This breaks a number
> of our key QA tests and I suspect will cause users pain too.
> 
> The sftp server from openssh is small (200kb uncompressed) and standalone
> so adding it to the packagegroup seems to be the best way to preserve user
> sanity. If people really don't want it, they can just use dropbear instead
> of the packageground.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  .../recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> v2: Make a reccomentation, tweak commit message
> 
> 
> diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
> index 4f844ad9255..d06c6a56095 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
> @@ -4,3 +4,4 @@ PR = "r1"
>  inherit packagegroup
>  
>  RDEPENDS:${PN} = "dropbear"
> +RRECOMMENDS:${PN} = "openssh-sftp-server"

This fixes some failures but triggers some new ones:

Error: 
 Problem: package dropbear-dev-2022.82-r0.mips64 requires dropbear = 2022.82-r0, but none of the providers can be installed
  - package dropbear-2022.82-r0.mips64 conflicts with openssh provided by openssh-9.0p1-r0.mips64
  - package openssh-9.0p1-r0.mips64 conflicts with dropbear provided by dropbear-2022.82-r0.mips64
  - package openssh-dev-9.0p1-r0.mips64 requires openssh = 9.0p1-r0, but none of the providers can be installed
  - conflicting requests

https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/5414/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5414/steps/11/logs/stdio

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-24 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 13:58 [PATCH v2] packagegroup-core-ssh-dropbear: Add openssh-sftp-server recommendation Richard Purdie
2022-06-24 14:34 ` [OE-core] " Luca Ceresoli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.