From cfa8c7d3c1fc39617a35ee2d32c1876e982f0b6a Mon Sep 17 00:00:00 2001 From: Itxaka Date: Fri, 16 Jun 2023 17:07:18 +0200 Subject: [PATCH] Do a different check for fips on immucore (#301) --- packages/system/immucore/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/system/immucore/build.yaml b/packages/system/immucore/build.yaml index a1fced7..951e490 100644 --- a/packages/system/immucore/build.yaml +++ b/packages/system/immucore/build.yaml @@ -32,7 +32,7 @@ steps: cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{ .Values.name }} -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/ - chmod +x /usr/bin/{{.Values.name}} {{if eq .Values.category "fips" }} - - go tool nm /usr/bin/{{.Values.name}} | grep -i "FIPS_mode" + - /usr/bin/{{.Values.name}} version 2>&1 >/dev/null | grep -i boringcrypto {{end}} includes: - /usr/bin/{{.Values.name}}