Skip to content

Commit c47b4cf

Browse files
committed
fix: disable upx for devspace-helper on linux/arm64
This is a mitigation for #2448 (comment) Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
1 parent 79fa51d commit c47b4cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/build-all.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ upx "${DEVSPACE_ROOT}/release/devspacehelper" #compress devspacehelper
6161
shasum -a 256 "${DEVSPACE_ROOT}/release/devspacehelper" > "${DEVSPACE_ROOT}/release/devspacehelper".sha256
6262

6363
GOARCH=arm64 GOOS=linux go build -ldflags "-s -w -X github.com/loft-sh/devspace/helper/cmd.version=${VERSION}" -o "${DEVSPACE_ROOT}/release/devspacehelper-arm64" helper/main.go
64-
upx "${DEVSPACE_ROOT}/release/devspacehelper-arm64" #compress devspacehelper
64+
# FIXME: this is not working for any number of arguments/flags
65+
# upx "${DEVSPACE_ROOT}/release/devspacehelper-arm64" #compress devspacehelper
6566
shasum -a 256 "${DEVSPACE_ROOT}/release/devspacehelper-arm64" > "${DEVSPACE_ROOT}/release/devspacehelper-arm64".sha256
6667

6768
# build bin data

0 commit comments

Comments
 (0)