@@ -19,7 +19,6 @@ HOMEPAGE = "https://odbc.postgresql.org/"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692"
-PV_WITH_USCORE = "${@d.getVar('PV').replace('.', '_')}"
SRC_URI = "git://github.com/postgresql-interfaces/psqlodbc.git;protocol=https;branch=main;tag=REL-${PV_WITH_USCORE} \
file://psqlodbc-remove-some-checks-for-cross-compiling.patch \
file://psqlodbc-donot-use-the-hardcode-libdir.patch \
@@ -28,7 +27,8 @@ SRC_URI = "git://github.com/postgresql-interfaces/psqlodbc.git;protocol=https;br
file://run-ptest \
"
-SRC_URI[sha256sum] = "afd892f89d2ecee8d3f3b2314f1bd5bf2d02201872c6e3431e5c31096eca4c8b"
+SRCREV = "251c8e8200c7a030fa46e59429d3fec7a73de4ec"
+PV_WITH_USCORE = "${@d.getVar('PV').replace('.', '_')}"
DEPENDS += "postgresql unixodbc"
This recipe was moved from tarballs to git in the 17.00.0006 upgrade, but the recipe failed to set SRCREV. This meant bitbake had to look up the tag name on every parse. Set SRCREV, and remove the now-obsolete SRC_URI[sha256sum]. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta-oe/recipes-dbs/psqlodbc/psqlodbc_17.00.0006.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)