diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-04-08 17:38:21 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-11 11:49:59 +0100 |
| commit | 2a1eb07755871aaf1e3f35547b7315237592ea27 (patch) | |
| tree | 5ba14c3bad3b3daac5f70511f1cb9d1c92952c96 /meta/recipes-devtools/git/git_2.49.0.bb | |
| parent | 07b2d077c79c44e9e224ef56f541d46591d4cde7 (diff) | |
| download | poky-2a1eb07755871aaf1e3f35547b7315237592ea27.tar.gz | |
buildtools-tarball: move setting of envvars to respective envfile
* make git,curl,python3-requests align with openssl, move the setting of
envvars into respective envfile
* for environment.d-openssl.sh, also check if ca-certificates.crt exist
before export envvars
(From OE-Core rev: 9d8ebfcd55ad274e79cb81f162397c8f39f4287b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/git/git_2.49.0.bb')
| -rw-r--r-- | meta/recipes-devtools/git/git_2.49.0.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git_2.49.0.bb b/meta/recipes-devtools/git/git_2.49.0.bb index 2ca8711f75..3538170d08 100644 --- a/meta/recipes-devtools/git/git_2.49.0.bb +++ b/meta/recipes-devtools/git/git_2.49.0.bb | |||
| @@ -12,6 +12,10 @@ SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \ | |||
| 12 | file://0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch \ | 12 | file://0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | SRC_URI:append:class-nativesdk = " \ | ||
| 16 | file://environment.d-git.sh \ | ||
| 17 | " | ||
| 18 | |||
| 15 | S = "${WORKDIR}/git-${PV}" | 19 | S = "${WORKDIR}/git-${PV}" |
| 16 | 20 | ||
| 17 | LIC_FILES_CHKSUM = "\ | 21 | LIC_FILES_CHKSUM = "\ |
| @@ -112,6 +116,9 @@ do_install:append:class-nativesdk() { | |||
| 112 | GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \ | 116 | GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \ |
| 113 | GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR} | 117 | GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR} |
| 114 | perl_native_fixup | 118 | perl_native_fixup |
| 119 | |||
| 120 | mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d | ||
| 121 | install -m 644 ${UNPACKDIR}/environment.d-git.sh ${D}${SDKPATHNATIVE}/environment-setup.d/git.sh | ||
| 115 | } | 122 | } |
| 116 | 123 | ||
| 117 | FILES:${PN} += "${datadir}/git-core ${libexecdir}/git-core/" | 124 | FILES:${PN} += "${datadir}/git-core ${libexecdir}/git-core/" |
| @@ -152,6 +159,8 @@ FILES:${PN}-tk = " \ | |||
| 152 | 159 | ||
| 153 | PACKAGES =+ "gitweb" | 160 | PACKAGES =+ "gitweb" |
| 154 | FILES:gitweb = "${datadir}/gitweb/" | 161 | FILES:gitweb = "${datadir}/gitweb/" |
| 162 | |||
| 163 | FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/git.sh" | ||
| 155 | RDEPENDS:gitweb = "perl" | 164 | RDEPENDS:gitweb = "perl" |
| 156 | 165 | ||
| 157 | BBCLASSEXTEND = "native nativesdk" | 166 | BBCLASSEXTEND = "native nativesdk" |
