Skip to content

[14.5-stable] Get go from go.dev instead of alpine's edge/community mirror#5602

Open
europaul wants to merge 4 commits intolf-edge:14.5-stablefrom
europaul:14.5-set-go-version
Open

[14.5-stable] Get go from go.dev instead of alpine's edge/community mirror#5602
europaul wants to merge 4 commits intolf-edge:14.5-stablefrom
europaul:14.5-set-go-version

Conversation

@europaul
Copy link
Contributor

Description

Backport of #5184

Checklist

  • I've added a reference link to the original PR
  • PR's title follows the template

Pin the go version to 1.24.6 and download the toolchain from go.dev
instead of using the one from alpine's edge/community repository.

This also eliminates the need for the alpine/mirrors/edge/community
directory, which is no longer used.

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
(cherry picked from commit 3253f09)
Fix the lookup of cached apk packages in build-cache.sh. Now it produces
correct results even if there are multiple versions of the same package.

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
(cherry picked from commit 7b0f5a6)
To have the full picture of all needed packages and their dependencies,
we ran the script
`python3 tools/alpine-tools/alpine_migrate.py 3.16 3.16`

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
Since the go toolchain is now downloaded from go.dev, we need to rebuild
all the packages that depend on it.

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
@rene
Copy link
Contributor

rene commented Feb 14, 2026

@europaul , we will need to break this PR into two because our arm64 runners are running out of disk space. My suggestion is to remove from this PR:

  1. pkg/cross-compilers
  2. pkg/bsp-imx
  3. pkg/optee
  4. pkg/pillar

These are all dependent on pkg/cross-compilers. Then you open a new PR to update the alpine hash for these packages.... it should be enough....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants