summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/git/git_2.44.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/git/git_2.44.0.bb')
-rw-r--r--meta/recipes-devtools/git/git_2.44.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git_2.44.0.bb b/meta/recipes-devtools/git/git_2.44.0.bb
index e6d1470873..90e555eba7 100644
--- a/meta/recipes-devtools/git/git_2.44.0.bb
+++ b/meta/recipes-devtools/git/git_2.44.0.bb
@@ -4,6 +4,7 @@ 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"
7 8
8PROVIDES:append:class-native = " git-replacement-native" 9PROVIDES:append:class-native = " git-replacement-native"
9 10
@@ -95,6 +96,7 @@ perl_native_fixup () {
95 96
96REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core" 97REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"
97REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates" 98REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates"
99REL_GIT_SSL_CAINFO = "${@os.path.relpath(sysconfdir, bindir)}/ssl/certs/ca-certificates.crt"
98 100
99do_install:append:class-target () { 101do_install:append:class-target () {
100 perl_native_fixup 102 perl_native_fixup
@@ -103,6 +105,7 @@ do_install:append:class-target () {
103do_install:append:class-native() { 105do_install:append:class-native() {
104 create_wrapper ${D}${bindir}/git \ 106 create_wrapper ${D}${bindir}/git \
105 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \ 107 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
108 GIT_SSL_CAINFO='`dirname $''realpath`'/${REL_GIT_SSL_CAINFO} \
106 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR} 109 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
107} 110}
108 111