release: enable mipsle and mips64le pkgs for Debian

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-05-09 09:55:12 +02:00
parent ce3c5b5570
commit ca3048e41e
No known key found for this signature in database
2 changed files with 13 additions and 11 deletions

View File

@ -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
}

View File

@ -82,17 +82,15 @@ func Targets() []dist.Target {
}
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{