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/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-