From db62f1d76402223fcf4e3b4ab6ecc860888107de Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Thu, 19 May 2022 15:58:25 -0700 Subject: [PATCH] handle riscv64 properly.. --- mksnapidx.awk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mksnapidx.awk b/mksnapidx.awk index eec252a..e4b0e66 100644 --- a/mksnapidx.awk +++ b/mksnapidx.awk @@ -85,6 +85,7 @@ function isrelease(relpart) { #FreeBSD-12.1-BETA3-amd64-mini-memstick.img.xz #FreeBSD-12.1-RC1-amd64-mini-memstick.img.xz #FreeBSD-12.1-RELEASE-arm64-aarch64.vmdk.xz +#FreeBSD-13.1-RELEASE-riscv-riscv64.vmdk.xz $1 == "SHA512" { # Strip parens @@ -100,7 +101,7 @@ $1 == "SHA512" { # make arch part, may include additional part arch = parts[4] basearch = arch - if (parts[4] == "arm" || + if (parts[4] == "arm" || parts[4] == "riscv" || (parts[4] == "powerpc" && parts[5] == "powerpcspe") || (parts[4] == "powerpc" && parts[5] == "powerpc64") || parts[4] == "arm64") {