Skip to content

Upstream GO_HASH_FILE variable for buildroot go package #22104

@nirs

Description

@nirs

We define GO_HASH_FILE= to override buildroot go.hash file:

# the go version on the line below is for the ISO
GOLANG_OPTIONS = GOWORK=off GO_VERSION=1.23.4 GO_HASH_FILE=$(PWD)/deploy/iso/minikube-iso/go.hash
BUILDROOT_OPTIONS = BR2_EXTERNAL=../../deploy/iso/minikube-iso $(GOLANG_OPTIONS)

but there is no such variable in the buildroot go package,
So we just replace the existing one:

cp deploy/iso/minikube-iso/go.hash $(BUILD_DIR)/buildroot/package/go/go.hash

Probably should be upstreamed properly...

The real files for the "go" package are in https://github.com/buildroot/buildroot/tree/2025.02.x/package/go

We can upstream this change to the buildroot package so we don't need to replace the go.hash file.

Originally posted by @afbjorklund in #22101 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/guest-vmGeneral configuration issues with the minikube guest VMkind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions