mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use armhf architecture in linux packages (#2514)
This commit is contained in:
@@ -59,6 +59,11 @@ if [[ "$version" == "" ]]; then
|
||||
version="$(execrelative ./version.sh)"
|
||||
fi
|
||||
|
||||
# armv7 isn't a real architecture, so we need to remap it to armhf.
|
||||
if [[ "$arch" == "arm" ]] || [[ "$arch" == "armv7" ]]; then
|
||||
arch="armhf"
|
||||
fi
|
||||
|
||||
# Make temporary dir where all source files intended to be in the package will
|
||||
# be hardlinked from.
|
||||
cdroot
|
||||
|
||||
Reference in New Issue
Block a user