As Richard has noticed it was wrong, meaning part of the fix should be placed in ca-certificates and I even dunno why it was still working... Nevertheless I'm sending v2 patchest.
BR Piotr ________________________________ Od: Ross Burton <[email protected]> Wysłane: poniedziałek, 13 listopada 2023 18:44 Do: Piotr Łobacz <[email protected]> DW: [email protected] <[email protected]> Temat: Re: [OE-Core][PATCH] curl-native: add missing ca-certificates.crt file [[email protected] przypomina osobę, która wcześniej wysłała ci wiadomość e-mail, ale może nie być tą osobą. Dowiedz się, dlaczego może to stanowić zagrożenie dla https://aka.ms/LearnAboutSenderIdentification ] 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 (#190742): https://lists.openembedded.org/g/openembedded-core/message/190742 Mute This Topic: https://lists.openembedded.org/mt/102615220/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
