On 10 Nov 2023, at 19:37, Piotr Łobacz via lists.openembedded.org <[email protected]> wrote: > > By default curl is being configured with: > > --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt > > which causes an issue for native build, when calling > curl-native command, as certificates file is missing. > > This commit fixes the issue.
I’m not sure what issue this is actually solving, unless something has changed in how curl is built. curl-native has a hard-coded ca-bundle path to $sysconfdir/ssl/certs/ca-certificates.crt. We can know exactly what this path is when curl-native is built: $ bitbake-getvar -r curl-native sysconfdir export sysconfdir="/yocto/ross/build-poky/tmp/work/aarch64-linux/curl-native/8.4.0/recipe-sysroot-native/etc” This is the *work directory* of curl-native. If you then link to curl-native in another native recipe and run the binary, that libcurl will continue to look in the curl-native work directory which does not exist if rm_work is being used or curl-native was taken from sstate. This change does not solve that problem. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190483): https://lists.openembedded.org/g/openembedded-core/message/190483 Mute This Topic: https://lists.openembedded.org/mt/102513859/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
