Skip to content

Commit

Permalink
Drop 32bit arm from package builds
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Mar 13, 2023
1 parent 4dd6e45 commit 0b3da00
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
6 changes: 2 additions & 4 deletions packages/deb/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (ss *stringList) Set(v string) error {
}

var (
architectures = stringList{"amd64", "arm", "arm64", "ppc64le", "s390x"}
architectures = stringList{"amd64", "arm64", "ppc64le", "s390x"}
// distros describes the Debian and Ubuntu versions that binaries will be built for.
// Each distro build definition is currently symlinked to the most recent ubuntu build definition in the repo.
// Build definitions should be kept up to date across release cycles, removing Debian/Ubuntu versions
Expand Down Expand Up @@ -583,9 +583,7 @@ func main() {
DistroName: distro,
Arch: arch,
}
if c.Arch == "arm" {
c.DebArch = "armhf"
} else if c.Arch == "ppc64le" {
if c.Arch == "ppc64le" {
c.DebArch = "ppc64el"
} else {
c.DebArch = c.Arch
Expand Down
1 change: 0 additions & 1 deletion packages/rpm/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ else
#GOARCH/RPMARCH
ARCHS=(
amd64/x86_64
arm/armhfp
arm64/aarch64
ppc64le/ppc64le
s390x/s390x
Expand Down
4 changes: 0 additions & 4 deletions pkg/kubepkg/kubepkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ var (
"deb": "amd64",
"rpm": "x86_64",
},
"arm": {
"deb": "armhf",
"rpm": "armhfp",
},
"arm64": {
"deb": "arm64",
"rpm": "aarch64",
Expand Down

0 comments on commit 0b3da00

Please sign in to comment.