summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKristoffer Dalby <kristoffer@tailscale.com>2023-05-09 09:55:12 +0200
committerKristoffer Dalby <kristoffer@tailscale.com>2023-05-09 09:55:12 +0200
commitca3048e41e035bdcee86542817616c2f7f15be88 (patch)
tree8da97ac0006624b3c2590814d5286325caeb630d
parentce3c5b5570c153027589f1247dd5762bc775c6e5 (diff)
downloadtailscale-kristoffer/enable-mips-pkgs.tar.xz
tailscale-kristoffer/enable-mips-pkgs.zip
release: enable mipsle and mips64le pkgs for Debiankristoffer/enable-mips-pkgs
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
-rw-r--r--release/dist/unixpkgs/pkgs.go4
-rw-r--r--release/dist/unixpkgs/targets.go20
2 files changed, 13 insertions, 11 deletions
diff --git a/release/dist/unixpkgs/pkgs.go b/release/dist/unixpkgs/pkgs.go
index b9c36e0b2..8eae5f5d3 100644
--- a/release/dist/unixpkgs/pkgs.go
+++ b/release/dist/unixpkgs/pkgs.go
@@ -354,6 +354,10 @@ func debArch(arch string) string {
// can ship more than 1 ARM deb, so for now match redo's behavior of
// shipping armv5 binaries in an armv7 trenchcoat.
return "armhf"
+ case "mipsle":
+ return "mipsel"
+ case "mips64le":
+ return "mips64el"
default:
return arch
}
diff --git a/release/dist/unixpkgs/targets.go b/release/dist/unixpkgs/targets.go
index 5d2fe7440..2a6287984 100644
--- a/release/dist/unixpkgs/targets.go
+++ b/release/dist/unixpkgs/targets.go
@@ -82,17 +82,15 @@ var (
}
debs = map[string]bool{
- "linux/386": true,
- "linux/amd64": true,
- "linux/arm": true,
- "linux/arm64": true,
- "linux/riscv64": true,
- "linux/mips": true,
- "linux/mips64": true,
- // TODO: enable and verify that mips architecture is passed correctly to
- // debian. mipsle == mipsel (https://www.debian.org/ports/mips/)
- // "linux/mipsle": true,
- // "linux/mips64le": true,
+ "linux/386": true,
+ "linux/amd64": true,
+ "linux/arm": true,
+ "linux/arm64": true,
+ "linux/riscv64": true,
+ "linux/mips": true,
+ "linux/mips64": true,
+ "linux/mipsle": true,
+ "linux/mips64le": true,
}
rpms = map[string]bool{