psqlodbc: set SRCREV

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton 2025-10-31 13:37:49 +00:00 committed by Khem Raj
parent e37675cdd5
commit 93d77fe170

View File

@ -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"