From cbd077e5dc75f617450bad81bd5ed4bd8a301a8c Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 8 Nov 2023 16:15:06 -0500 Subject: [PATCH] fix(minikube) closes #4003 --- projects/kubernetes.io/minikube/package.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/projects/kubernetes.io/minikube/package.yml b/projects/kubernetes.io/minikube/package.yml index ad93569e..57195172 100644 --- a/projects/kubernetes.io/minikube/package.yml +++ b/projects/kubernetes.io/minikube/package.yml @@ -15,11 +15,15 @@ build: dependencies: go.dev: ^1.19 github.com/kevinburke/go-bindata: '*' - script: | - make - mkdir -p "{{ prefix }}"/bin - mv out/minikube "{{ prefix }}"/bin + script: + - run: | + sed -E -i.bak -e's/(_LDFLAGS := "?)/\1-buildmode=pie /' Makefile + rm Makefile.bak + if: linux + - make + - mkdir -p "{{ prefix }}"/bin + - mv out/minikube "{{ prefix }}"/bin -test: +test: script: | minikube version \ No newline at end of file