Currently, k3s do_fetch fails with:
ERROR: k3s-v1.22.6+k3s1+git4262c6b91a43ef8411870f72ff8b8715949f90e2-r0 
do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any 
source.', 
'git://github.com/storageos/go-api;name=go-api;protocol=https;nobranch=1;destsuffix=/<snip>/build/tmp/work/armv8a-poky-linux/k3s/v1.22.6+k3s1+git4262c6b91a43ef8411870f72ff8b8715949f90e2-r0/k3s-v1.22.6+k3s1+git4262c6b91a43ef8411870f72ff8b8715949f90e2/src/import/vendor.fetch/github.com/storageos/go-api')

The https://github.com/storageos/go-api repository is currently being migrated.
It's locked while the migration is in progress.

To workaround this issue, download the the release tarball instead.

Signed-off-by: Diego Sueiro <diego.sue...@arm.com>
---
 recipes-containers/k3s/src_uri.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-containers/k3s/src_uri.inc 
b/recipes-containers/k3s/src_uri.inc
index 4c0c283..fddbbfd 100644
--- a/recipes-containers/k3s/src_uri.inc
+++ b/recipes-containers/k3s/src_uri.inc
@@ -1950,8 +1950,8 @@ SRC_URI += 
"git://github.com/stoewer/go-strcase;name=go-strcase;protocol=https;n
 
 # github.com/storageos/go-api v2.2.0+incompatible
 # [1] git ls-remote https://github.com/storageos/go-api 
d6e6bab2519238b8a582cabd2f4a71cca81963aa 
-SRCREV_go-api="d6e6bab2519238b8a582cabd2f4a71cca81963aa"
-SRC_URI += 
"git://github.com/storageos/go-api;name=go-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/storageos/go-api"
+SRC_URI[go-api.sha256sum] = 
"2a23ff05a9ad02084e31afa7ffaf4fd97757af9277a5fe8001e5335a6db1ddea"
+SRC_URI += 
"https://proxy.golang.org/github.com/storageos/go-api/v2/@v/v2.2.0.zip;downloadfilename=go-api_v2.2.0.zip;name=go-api;subdir=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/storageos/go-api";
 
 # github.com/stretchr/objx v0.2.0
 # [1] git ls-remote https://github.com/stretchr/objx 
ea4fe68685ee0d3cee7032121851b57e7494e8ea 
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8004): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8004
Mute This Topic: https://lists.yoctoproject.org/mt/98406519/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to