From 5c25319d2ec77be4a39e73d0899f5c38fe53656f Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Wed, 12 Jun 2024 10:13:30 -0500 Subject: [PATCH] fix: only build a single binary in the init-package make target (#2614) ## Description This PR updates the `init-package` make target to ensure it builds only the binary appropriate for the local system --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 925837fb26..3ec06565a3 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ build-local-agent-image: ## Build the Zarf agent image to be used in a locally b @ if [ "$(ARCH)" = "arm64" ]; then rm build/zarf-linux-arm64; fi init-package: ## Create the zarf init package (must `brew install coreutils` on macOS and have `docker` first) - @test -s $(ZARF_BIN) || $(MAKE) build-cli + @test -s $(ZARF_BIN) || $(MAKE) $(ZARF_BIN) package create -o build -a $(ARCH) --confirm . # INTERNAL: used to build a release version of the init package with a specific agent image