File 0001-context-Sync-missing-arches-from-DNF.patch of Package libdnf
From 8b47392ebaf3e2c2f3047b8ed556dd479e941585 Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa13@gmail.com>
Date: Mon, 4 Jan 2021 06:25:34 -0500
Subject: [PATCH] [context] Sync missing arches from DNF
libdnf context users need to be able to handle all the same architectures
as DNF does.
---
libdnf/dnf-context.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp
index bc4a15b6..dc937699 100644
--- a/libdnf/dnf-context.cpp
+++ b/libdnf/dnf-context.cpp
@@ -95,7 +95,7 @@ static const struct {
"alphaev56", "alphaev6", "alphaev67",
"alphaev68", "alphaev7", "alphapca56", NULL } },
{ "arm", { "armv5tejl", "armv5tel", "armv5tl", "armv6l", "armv7l", "armv8l", NULL } },
- { "armhfp", { "armv7hl", "armv7hnl", "armv8hl", "armv8hnl", "armv8hcnl", NULL } },
+ { "armhfp", { "armv6hl", "armv7hl", "armv7hnl", "armv8hl", "armv8hnl", "armv8hcnl", NULL } },
{ "i386", { "i386", "athlon", "geode", "i386",
"i486", "i586", "i686", NULL } },
{ "ia64", { "ia64", NULL } },
@@ -108,6 +108,9 @@ static const struct {
{ "ppc64", { "ppc64", "ppc64iseries", "ppc64p7",
"ppc64pseries", NULL } },
{ "ppc64le", { "ppc64le", NULL } },
+ { "riscv32", { "riscv32", NULL } },
+ { "riscv64", { "riscv64", NULL } },
+ { "riscv128", { "riscv128", NULL } },
{ "s390", { "s390", NULL } },
{ "s390x", { "s390x", NULL } },
{ "sh3", { "sh3", NULL } },
--
2.29.2