Skip to content

Commit

Permalink
feat: support riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Mar 16, 2023
1 parent 066a9f5 commit abc45d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian_package_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ security: 20220112T153306Z
A list of packages with architecture and debian distro parameters
```yaml
- distros: ["debian10"]
archs: ["amd64", "arm64", "arm", "s390x", "ppc64le"]
archs: ["amd64", "arm64", "arm", "s390x", "ppc64le", "riscv64"]
packages:
- "libc6"
- "libc-bin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ const (
ARM
PPC64LE
S390X
RISCV64
)

var archs = []Arch{AMD64, ARM64, ARM, PPC64LE, S390X}
var archs = []Arch{AMD64, ARM64, ARM, PPC64LE, S390X, RISCV64}

func (a Arch) String() string {
switch a {
Expand All @@ -43,6 +44,8 @@ func (a Arch) String() string {
return "ppc64le"
case S390X:
return "s390x"
case RISCV64:
return "riscv64"
}
panic("unknown release")
}
Expand All @@ -60,6 +63,8 @@ func (a Arch) DebianName() string {
return "ppc64el"
case S390X:
return "s390x"
case RISCV64:
return "riscv64"
}
panic("unknown release")
}
Expand Down

0 comments on commit abc45d3

Please sign in to comment.