On Fri, 2023-11-10 at 20:37 +0100, Piotr Łobacz 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.
>
> Signed-off-by: Piotr Łobacz <[email protected]>
> ---
> meta/recipes-support/curl/curl_8.4.0.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-support/curl/curl_8.4.0.bb
> b/meta/recipes-support/curl/curl_8.4.0.bb
> index 5f97730bf4..165a116139 100644
> --- a/meta/recipes-support/curl/curl_8.4.0.bb
> +++ b/meta/recipes-support/curl/curl_8.4.0.bb
> @@ -130,7 +130,9 @@ PACKAGES =+ "lib${BPN}"
>
> FILES:lib${BPN} = "${libdir}/lib*.so.*"
> RRECOMMENDS:lib${BPN} += "ca-certificates"
> +DEPENDS:append:class-native = " ca-certificates-native"
>
> +SYSROOT_DIRS:append =" /etc/ssl/certs"
> FILES:${PN} += "${datadir}/zsh"
>
> inherit multilib_script
Adding the dependency I can understand but the SYSROOT_DIRS append
would need to be in the ca-certificates recipe to be of any use as I
understand it?
Also, wouldn't a += instead of a append work for SYSROOT_DIRS?
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190465):
https://lists.openembedded.org/g/openembedded-core/message/190465
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]]
-=-=-=-=-=-=-=-=-=-=-=-