mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-13 14:41:37 +01:00
Since Go 1.20 stopped shipping pre-compiled package archives for the
standard library in $GOROOT/pkg, it became impossible to install
pkg/linux_{amd64,arm64} for every version. To avoid build failure,
install the library if the Go slot number is 1.19 or older.
Also depend on go-bootstrap 1.17.13 or newer.
See also https://go.dev/doc/go1.20.