diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-11-27 10:53:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-29 23:07:13 +0000 |
commit | 278cb0fc0725fbfdcafd3b3afcfb7c7c6a4eee14 (patch) | |
tree | 7aa5b5d3409620d837f6b033e8b31ee3205bb498 /meta/recipes-extended/go-examples | |
parent | fd5b5c6355cd5bb0fb82d09be5bfa0d8170e1fc3 (diff) | |
download | poky-278cb0fc0725fbfdcafd3b3afcfb7c7c6a4eee14.tar.gz |
go-helloworld: update to latest revision
Adjust SRC_URI, github is only a mirror.
Adjust GO_IMPORT, as it does not match either github
or the official repo.
(From OE-Core rev: 2c0e20fca1491adfef4f79b0088664f587ade4fd)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/go-examples')
-rw-r--r-- | meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb index 4e582edcf1..b3a8631794 100644 --- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb +++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb | |||
@@ -5,11 +5,11 @@ HOMEPAGE = "https://golang.org/" | |||
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
7 | 7 | ||
8 | SRC_URI = "git://${GO_IMPORT};branch=master;protocol=https" | 8 | SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https" |
9 | SRCREV = "46695d81d1fae905a270fb7db8a4d11a334562fe" | 9 | SRCREV = "787a929d5a0dfb8bbfcdd2c4a62e0fd89466113f" |
10 | UPSTREAM_CHECK_COMMITS = "1" | 10 | UPSTREAM_CHECK_COMMITS = "1" |
11 | 11 | ||
12 | GO_IMPORT = "github.com/golang/example" | 12 | GO_IMPORT = "golang.org/x/example" |
13 | GO_INSTALL = "${GO_IMPORT}/hello" | 13 | GO_INSTALL = "${GO_IMPORT}/hello" |
14 | GO_WORKDIR = "${GO_INSTALL}" | 14 | GO_WORKDIR = "${GO_INSTALL}" |
15 | export GO111MODULE="off" | 15 | export GO111MODULE="off" |