On Fri, Apr 21, 2023 at 4:23 AM Diego Sueiro <[email protected]> wrote:
>
> 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.
>

I'm ok to make the switch, but can we leave the old SRCREV and SRC_URI
entries in the file, commented out, with a comment explaining why
we've made the change.

Bruce

> Signed-off-by: Diego Sueiro <[email protected]>
> ---
>  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
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8005): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8005
Mute This Topic: https://lists.yoctoproject.org/mt/98406519/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-virtualization/leave/6693005/21656/1014668956/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to