eks-anywhere-build-tooling icon indicating copy to clipboard operation
eks-anywhere-build-tooling copied to clipboard

adds ipxedust build

Open jaxesn opened this issue 7 months ago • 2 comments

Issue #, if available:

Description of changes:

This adds the tinkerbell/ipxedust project to build tooling and uses the upstream scripts from there to build ipxe, which is a native binary as well as other image formats (iso/img). Since we dont really have any infra/process to push and pull custom go mod builds, this takes the approach of building ipxe and tar-ing it up as the artifact for the ipxedust build. The actual ipxedust golang code is ignore.

In the smee build, this artifact is downloaded, using the PROJECT_DEPENDENCIES mechanism we use elsewhere. These artifacts are then untared on top of the ipxedust vendor'd directory (boots/vendor/github.com/tinkerbell/ipxedust/binary) so that the binaries that end up in the final build via the go:embed, are the ones we built via eksa build tooling vs the vendored versions from upstream.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jaxesn avatar Jul 25 '24 20:07 jaxesn