diff --git a/release/dist/unixpkgs/pkgs.go b/release/dist/unixpkgs/pkgs.go index b9c36e0b2..61a6235df 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 } @@ -372,6 +376,10 @@ func rpmArch(arch string) string { return "armv7hl" case "arm64": return "aarch64" + 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 b9f599170..aad79d75e 100644 --- a/release/dist/unixpkgs/targets.go +++ b/release/dist/unixpkgs/targets.go @@ -82,31 +82,31 @@ var ( } debs = map[string]bool{ - "linux/386": true, - "linux/amd64": true, - "linux/arm": true, - "linux/arm64": true, - "linux/riscv64": true, - // TODO: maybe mipses, we accidentally started building them at some - // point even though they probably don't work right. - // "linux/mips": true, - // "linux/mipsle": true, + "linux/386": true, + "linux/amd64": true, + "linux/arm": true, + "linux/arm64": true, + "linux/riscv64": true, + "linux/mipsle": true, + "linux/mips64le": true, + "linux/mips": true, + // Debian does not support big endian mips64. Leave that out until we know + // we need it. // "linux/mips64": true, - // "linux/mips64le": true, } rpms = map[string]bool{ - "linux/386": true, - "linux/amd64": true, - "linux/arm": true, - "linux/arm64": true, - "linux/riscv64": true, - // TODO: maybe mipses, we accidentally started building them at some - // point even though they probably don't work right. + "linux/386": true, + "linux/amd64": true, + "linux/arm": true, + "linux/arm64": true, + "linux/riscv64": true, + "linux/mipsle": true, + "linux/mips64le": true, + // Fedora only supports little endian mipses. Maybe some other distribution + // supports big-endian? Leave them out for now. // "linux/mips": true, - // "linux/mipsle": true, // "linux/mips64": true, - // "linux/mips64le": true, } )