Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian: add explicit GOARM for raspbian #1001

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions deb/common/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ TARGET_ARCH = $(shell dpkg-architecture -qDEB_TARGET_ARCH)
PKG_REVISION ?= 1
export PKG_REVISION

# FIXME: quick hardcoding of GOARM for raspbian; replace with a holistic
# refactoring of how we handle target architecture
distribution := $(shell . /etc/os-release; echo "$${ID}")
ifeq ($(distribution),raspbian)
export GOARM=6
endif

# force packages to be built with xz compression, as Ubuntu 21.10 and up use
# zstd compression, which is non-standard, and breaks 'dpkg-sig --verify'
override_dh_builddeb:
Expand Down
Loading