Add patch to extend arch_map list with x86_64_v2 for the x86_64

Add Yuriy Kohut to the changelog entries
This commit is contained in:
Yuriy Kohut 2026-01-26 13:47:35 +02:00
parent 80ccbe9661
commit c6a22dd140
2 changed files with 33 additions and 1 deletions

View File

@ -10,6 +10,10 @@ actions:
- "Add x86_64_v2 to arch_map"
- "Add link to AlmaLinux bugtracker"
- "Fix tests on x86_64_v2"
- name: "Yuriy Kohut"
email: "ykohut@almalinux.org"
line:
- "Extend arch_map list with x86_64_v2 for the x86_64"
- add_files:
- type: "patch"
@ -20,4 +24,7 @@ actions:
number: "Latest"
- type: "patch"
name: "0001-Add-x86_64_v2-to-tests.patch"
number: "Latest"
number: "Latest"
- type: "patch"
name: "0001-Extend-arch_map-list-with-x86_64_v2-for-the-x86_64.patch"
number: "Latest"

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