[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] openssh: openssh-dev shouldn't depend on openssh
From:       "Matt Johnston" <matt () codeconstruct ! com ! au>
Date:       2021-09-30 6:24:59
Message-ID: 8373a9f92863ab3f56849944e126b5f6e5e2ea7d.camel () codeconstruct ! com ! au
[Download RAW message or body]

On Wed, 2021-09-29 at 09:40 -0500, Mark Hatle wrote:
> 
> If your root filesystem does NOT have openssh in it, then we need to answer the
> question why was the -dev version added?
> 
> You mention above it's "any built package", but that should not be the case.  It
> should be for any package installed into the corresponding root filesystem.

In this case "openssh" isn't installed in the root filesystem, only  
"openssh-sftp-server".  

> This should NOT install -dev packages for things not located in
> core-image-minimal.  If it does, then there is another problem, that was not the
> intended design.  The intention when the do_populate_sdk was written was
> construct the rootfs, parse what was install and add -dev packages + their
> dependencies.

populate_sdk resolves the globs for installed packages with  
"oe-pkgdata-util glob /tmp/installedpkgs *-dev"
which falls back to using the PN ("openssh") to find a match for openssh-
sftp-server.
That behaviour is useful for libraries like 
libboost-thread1.77.0 -> boost-dev, so I guess it's best left as-is.

Cheers,
Matt
> 



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156481): https://lists.openembedded.org/g/openembedded-core/message/156481
Mute This Topic: https://lists.openembedded.org/mt/85941131/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic