Skip to content

Fix u-root build

Charlie Turner requested to merge cturner/u-root-build into master

See: https://github.com/u-root/u-root/issues/1859

The alpine upgrade is required since the unversion u-root module has silent breaking changes, mostly due to Go's mess of a module system,

root/go/src/github.com/u-root/u-root/pkg/lockfile/lockfile.go:82:18: undefined: os.CreateTemp root/go/src/github.com/u-root/u-root/pkg/lockfile/lockfile.go:142:20: undefined: os.ReadFile root/go/src/github.com/u-root/u-root/pkg/uio/reader.go:29:9: undefined: io.ReadAll

The new APIs are in the Go from alpine:3.14. Then Go decided it wanted us to play with its new module toys by default, which are also broken with u-root, so turn that off as a workaround until u-root sorts their builds out.

Merge request reports

Loading