On Wed, 2021-09-29 at 11:18 +0800, Matt Johnston wrote:
> In some situations packages such as openssh-sftp-server are used
> separately from openssh-sshd. The openssh-dev package is empty
> but can have conflicts when installed via populate_sdk. Removing the
> dependency avoids that.
> 
> https://github.com/openbmc/openbmc/issues/3819 is an example of the
> problem.
> 
> Signed-off-by: Matt Johnston <[email protected]>
> ---
>  meta/recipes-connectivity/openssh/openssh_8.7p1.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-connectivity/openssh/openssh_8.7p1.bb 
> b/meta/recipes-connectivity/openssh/openssh_8.7p1.bb
> index 07cd6b74cd..3ebdd62de3 100644
> --- a/meta/recipes-connectivity/openssh/openssh_8.7p1.bb
> +++ b/meta/recipes-connectivity/openssh/openssh_8.7p1.bb
> @@ -165,6 +165,8 @@ RDEPENDS:${PN}-sshd += "${PN}-keygen 
> ${@bb.utils.contains('DISTRO_FEATURES', 'pa
>  RRECOMMENDS:${PN}-sshd:append:class-target = "\
>      ${@bb.utils.filter('PACKAGECONFIG', 'rng-tools', d)} \
>  "
> +# openssh-dev shouldn't pull in openssh-sshd etc
> +RDEPENDS:${PN}-dev = ""

At that point what is the point of the -dev package? I think you could make this
argument about a lot of the -dev packages and I'm not sure I'd want to see every
recipe doing this.

What are you using the -dev package for and do you need it at all?

[As an aside, I do think the -dev package dependencies need rethinking but that
is a lot more work which nobody seems very interested in]

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156451): 
https://lists.openembedded.org/g/openembedded-core/message/156451
Mute This Topic: https://lists.openembedded.org/mt/85941131/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to