diff mbox series

[meta-oe] iniparser: use SHA hash for srcrev

Message ID 20240528155853.1121622-1-alexandre.truong@smile.fr
State Accepted
Headers show
Series [meta-oe] iniparser: use SHA hash for srcrev | expand

Commit Message

Alexandre Truong May 28, 2024, 3:58 p.m. UTC
A tag was previously passed which needs a network access to identify the
exact SRCREV (SHA1). This network access breaks mirror testing and is
generaly not considered a good practice. See errors at [0].
Thus, a full SHA hash is being passed. Please have a look at [1]
for further information on the use of SRCREV.

[0]: https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/374/steps/17/logs/stdio
[1]: https://docs.yoctoproject.org/ref-manual/variables.html?#term-SRCREV

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb b/meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb
index 4a1c6db15..8c6c60a79 100644
--- a/meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb
+++ b/meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://gitlab.com/iniparser/iniparser"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8474d3b745f77e203f1fc82fb0bb7678"
 SRCBRANCH = "main"
-SRCREV = "v${PV}"
+SRCREV = "762715ca6cdba9dcf31a5af9297b444f3b5b8c00"
 
 SRC_URI = "git://gitlab.com/iniparser/iniparser.git;protocol=https;branch=${SRCBRANCH}"
 S = "${WORKDIR}/git"