Add x86_64_v2 to arch_map

Add link to AlmaLinux bugtracker

Fix tests on x86_64_v2

Extend arch_map list with x86_64_v2 for the x86_64
This commit is contained in:
Eduard Abdullin 2026-03-06 09:38:29 +00:00 committed by root
parent 367b431b79
commit fc75e7241e
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From b960f5b5f29c0a38fcd4dd7d0babb7266f5cc198 Mon Sep 17 00:00:00 2001
From: Yuriy Kohut <yura.kohut@gmail.com>
Date: Mon, 26 Jan 2026 11:17:26 +0200
Subject: [PATCH] Extend arch_map list with x86_64_v2 for the x86_64
---
libdnf/dnf-context.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp
index 4ef63ea6..fcce7227 100644
--- a/libdnf/dnf-context.cpp
+++ b/libdnf/dnf-context.cpp
@@ -118,7 +118,7 @@ static const struct {
{ "sh4", { "sh4", "sh4a", NULL } },
{ "sparc", { "sparc", "sparc64", "sparc64v", "sparcv8",
"sparcv9", "sparcv9v", NULL } },
- { "x86_64", { "x86_64", "amd64", "ia32e", NULL } },
+ { "x86_64", { "x86_64", "x86_64_v2", "amd64", "ia32e", NULL } },
{ "x86_64_v2", { "x86_64_v2", NULL } },
{ "loongarch64", { "loongarch64", NULL } },
{ NULL, { NULL } }
--
2.49.0

View File

@ -90,6 +90,7 @@ Patch24: 0024-Goal-set-protected-as-userinstalled-only-for-the-tem.patch
Patch1001: 0001-Add-link-to-AlmaLinux-bugtracker.patch
Patch1002: 0001-Add-x86_64_v2-to-arch_map.patch
Patch1003: 0001-Add-x86_64_v2-to-tests.patch
Patch1004: 0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch
BuildRequires: cmake
BuildRequires: gcc
@ -333,11 +334,14 @@ popd
%endif
%changelog
* Tue Feb 17 2026 Eduard Abdullin <eabdullin@almalinux.org> - 0.73.1-14.alma.1
* Fri Mar 06 2026 Eduard Abdullin <eabdullin@almalinux.org> - 0.73.1-14.alma.1
- Add x86_64_v2 to arch_map
- Add link to AlmaLinux bugtracker
- Fix tests on x86_64_v2
* Fri Mar 06 2026 Yuriy Kohut <ykohut@almalinux.org> - 0.73.1-14.alma.1
- Extend arch_map list with x86_64_v2 for the x86_64
* Mon Feb 09 2026 Ales Matej <amatej@redhat.com> - 0.73.1-14
- Mark all protected packages as user installed for all transactions (RHEL-128445)
- Add `filterUnneededExtraUserinstalled` and Python version to the API