]> code.ossystems Code Review - openembedded-core.git/commitdiff
repo: upgrade 2.20 -> 2.21
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 17 Feb 2022 16:09:26 +0000 (17:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Feb 2022 17:56:52 +0000 (17:56 +0000)
sed-patch the sources from do_configure, as otherwise
this breaks automated updates (devtool creates a patch
out of changes done by sed).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/repo/repo_2.21.bb [moved from meta/recipes-devtools/repo/repo_2.20.bb with 82% similarity]

similarity index 82%
rename from meta/recipes-devtools/repo/repo_2.20.bb
rename to meta/recipes-devtools/repo/repo_2.21.bb
index b56559fd9aa6c8d150c8900bab0b2bc47e6f5df9..3c50793401246a6403c59ae35ec6f7f8a20e868a 100644 (file)
@@ -12,18 +12,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
            file://0001-python3-shebang.patch \
            "
-SRCREV = "98bb76577d9e7e0ffdeb643f1654ec006f6bbc8c"
+SRCREV = "8e91248655acf1c8044ed8c1b265b804a99eb07f"
 
 MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
 
 S = "${WORKDIR}/git"
 
-do_set_fixed_rev() {
-    sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
+do_configure:prepend() {
+       sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
 }
 
-do_patch[postfuncs] += "do_set_fixed_rev"
-
 do_install() {
        install -D ${WORKDIR}/git/repo ${D}${bindir}/repo
 }