From ca3048e41e035bdcee86542817616c2f7f15be88 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 9 May 2023 09:55:12 +0200 Subject: [PATCH] release: enable mipsle and mips64le pkgs for Debian Signed-off-by: Kristoffer Dalby --- release/dist/unixpkgs/pkgs.go | 4 ++++ release/dist/unixpkgs/targets.go | 20 +++++++++----------- 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{