Skip to content

Commit

Permalink
fedora: enable minimal-raw-zst for riscv64
Browse files Browse the repository at this point in the history
xz is super-slow on riscv64, so let's enable the zstd variant on
riscv64.
  • Loading branch information
ondrejbudai authored and supakeen committed Feb 26, 2025
1 parent 9d95516 commit 230c0f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/distro/fedora/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ func newDistro(version int) distro.Distro {
},
},
minimalrawImgType,
minimalrawZstdImgType,
)

rd.addArches(x86_64, aarch64, ppc64le, s390x, riscv64)
Expand Down
1 change: 1 addition & 0 deletions pkg/distro/fedora/distro_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ func TestArchitecture_ListImageTypes(t *testing.T) {
imgNames: []string{
"container",
"minimal-raw",
"minimal-raw-zst",
},
},
}
Expand Down

0 comments on commit 230c0f8

Please sign in to comment.