]> code.ossystems Code Review - openembedded-core.git/commitdiff
go-binary-native: fix upstream version check
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 26 Jun 2020 07:18:42 +0000 (09:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2020 07:24:20 +0000 (08:24 +0100)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-binary-native_1.14.4.bb

index 3c535e14ceb1a64604df6bf4daa34c0e7b78f995..72c988944f0211686ac620d052e07da57ec11d3e 100644 (file)
@@ -11,6 +11,9 @@ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz
 SRC_URI[go_linux_amd64.sha256sum] = "aed845e4185a0b2a3c3d5e1d0a35491702c55889192bb9c30e67a3de6849c067"
 SRC_URI[go_linux_arm64.sha256sum] = "05dc46ada4e23a1f58e72349f7c366aae2e9c7a7f1e7653095538bc5bba5e077"
 
+UPSTREAM_CHECK_URI = "https://golang.org/dl/"
+UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
+
 S = "${WORKDIR}/go"
 
 inherit goarch native