]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
git: git-replacement-native: depend on ca-certificate
authorMax Krummenacher <max.krummenacher@toradex.com>
Mon, 11 Mar 2024 14:37:11 +0000 (07:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2024 12:20:59 +0000 (12:20 +0000)
commit2e99ffda70fd95b5eab3de47048032349cd66f4b
tree10d7296b818ea1d819522c0e5bc7c6040e016bcb
parentf8c360a6fac31ae439a3c638750b8e4a0714ed26
git: git-replacement-native: depend on ca-certificate

git is delegating webacces for URLs using TLS to libcurl.
However our native libcurl build does not find a ca-certificate.crt
unless its curl-native work dir still exists and thus git will
fail.
If a recipe uses AUTOREV with a git repo using https as its protocol
parsing of that recipe will fail fetching the latest HEAD.

Fix that by depending on ca-certificate and give its location
to libcurl via git's envrironment variable GIT_SSL_CAINFO.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/git/git_2.44.0.bb