summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2025-03-20 12:02:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-24 17:29:16 +0000
commit9f5260e0390ef2cf3901e49a9262a8963ac388cc (patch)
treedcd6314be7ca1795b702be009e372d152c7e50dc
parent7ed9f4b7aac31b38f6b4bfd611550b955b130e7e (diff)
downloadpoky-9f5260e0390ef2cf3901e49a9262a8963ac388cc.tar.gz
Revert "git: git-replacement-native: depend on ca-certificate"
This reverts commit 2e99ffda70fd95b5eab3de47048032349cd66f4b. git-replacement-native is used only to provide a newer version than may be installed on the system; apart from that, it should work more or less the same. In particular, it is using the host system's /etc/gitconfig; it should also use the system CA certificates, otherwise it will break HTTPS connections in environments that need local certificates, for example for a corporate HTTP proxy. The override had been added to deal with curl-native relying on the existence of its workdir to access CA certificates, which has been fixed in the curl recipe now. (From OE-Core rev: d18f4d9d2ac75f58669754f1e4b7a1313eb9db32) Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/git/git_2.49.0.bb3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-devtools/git/git_2.49.0.bb b/meta/recipes-devtools/git/git_2.49.0.bb
index 66082d0bde..2ca8711f75 100644
--- a/meta/recipes-devtools/git/git_2.49.0.bb
+++ b/meta/recipes-devtools/git/git_2.49.0.bb
@@ -4,7 +4,6 @@ DESCRIPTION = "Git is a free and open source distributed version control system
4SECTION = "console/utils" 4SECTION = "console/utils"
5LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause & MIT & BSL-1.0 & LGPL-2.1-or-later" 5LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause & MIT & BSL-1.0 & LGPL-2.1-or-later"
6DEPENDS = "openssl zlib" 6DEPENDS = "openssl zlib"
7DEPENDS:class-native += "ca-certificates"
8 7
9PROVIDES:append:class-native = " git-replacement-native" 8PROVIDES:append:class-native = " git-replacement-native"
10 9
@@ -97,7 +96,6 @@ perl_native_fixup () {
97 96
98REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core" 97REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"
99REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates" 98REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates"
100REL_GIT_SSL_CAINFO = "${@os.path.relpath(sysconfdir, bindir)}/ssl/certs/ca-certificates.crt"
101 99
102do_install:append:class-target () { 100do_install:append:class-target () {
103 perl_native_fixup 101 perl_native_fixup
@@ -106,7 +104,6 @@ do_install:append:class-target () {
106do_install:append:class-native() { 104do_install:append:class-native() {
107 create_wrapper ${D}${bindir}/git \ 105 create_wrapper ${D}${bindir}/git \
108 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \ 106 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
109 GIT_SSL_CAINFO='`dirname $''realpath`'/${REL_GIT_SSL_CAINFO} \
110 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR} 107 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
111} 108}
112 109