Browse Source

handle riscv64 properly..

main
John-Mark Gurney 2 years ago
parent
commit
db62f1d764
Signed by: jmg GPG Key ID: 205F0B33DD006ADA
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mksnapidx.awk

+ 2
- 1
mksnapidx.awk View File

@@ -85,6 +85,7 @@ function isrelease(relpart) {
#FreeBSD-12.1-BETA3-amd64-mini-memstick.img.xz #FreeBSD-12.1-BETA3-amd64-mini-memstick.img.xz
#FreeBSD-12.1-RC1-amd64-mini-memstick.img.xz #FreeBSD-12.1-RC1-amd64-mini-memstick.img.xz
#FreeBSD-12.1-RELEASE-arm64-aarch64.vmdk.xz #FreeBSD-12.1-RELEASE-arm64-aarch64.vmdk.xz
#FreeBSD-13.1-RELEASE-riscv-riscv64.vmdk.xz


$1 == "SHA512" { $1 == "SHA512" {
# Strip parens # Strip parens
@@ -100,7 +101,7 @@ $1 == "SHA512" {
# make arch part, may include additional part # make arch part, may include additional part
arch = parts[4] arch = parts[4]
basearch = arch basearch = arch
if (parts[4] == "arm" ||
if (parts[4] == "arm" || parts[4] == "riscv" ||
(parts[4] == "powerpc" && parts[5] == "powerpcspe") || (parts[4] == "powerpc" && parts[5] == "powerpcspe") ||
(parts[4] == "powerpc" && parts[5] == "powerpc64") || (parts[4] == "powerpc" && parts[5] == "powerpc64") ||
parts[4] == "arm64") { parts[4] == "arm64") {


Loading…
Cancel
Save