summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf/armarch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf/armarch.patch')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/armarch.patch16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/armarch.patch b/meta/recipes-devtools/libdnf/libdnf/armarch.patch
index 99eaf1d521..63debdb58f 100644
--- a/meta/recipes-devtools/libdnf/libdnf/armarch.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/armarch.patch
@@ -1,3 +1,8 @@
1From aa0f8b65feec64420a9b7b61cfcc8bcce161e14b Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Thu, 9 Nov 2023 10:29:31 +0000
4Subject: [PATCH] libdnf: Fix arm arch mapping issues for qemuarmv5
5
1We change the way rpm architectures work, we make the machine name the default machine 6We change the way rpm architectures work, we make the machine name the default machine
2specific package architecture. 7specific package architecture.
3 8
@@ -5,11 +10,14 @@ This arm mapping code can work or in the case of qemuarmv5, it doesn't as it cre
5armv5hl which doesn't exist and causes errrors. We can simply remove it, we don't need it. 10armv5hl which doesn't exist and causes errrors. We can simply remove it, we don't need it.
6 11
7Upstream-Status: Inappropriate [Relies on OE rpm config] 12Upstream-Status: Inappropriate [Relies on OE rpm config]
13---
14 libdnf/hy-util.cpp | 23 -----------------------
15 1 file changed, 23 deletions(-)
8 16
9Index: git/libdnf/hy-util.cpp 17diff --git a/libdnf/hy-util.cpp b/libdnf/hy-util.cpp
10=================================================================== 18index 9978c8e9..aa1369b6 100644
11--- git.orig/libdnf/hy-util.cpp 19--- a/libdnf/hy-util.cpp
12+++ git/libdnf/hy-util.cpp 20+++ b/libdnf/hy-util.cpp
13@@ -117,29 +117,6 @@ hy_detect_arch(char **arch) 21@@ -117,29 +117,6 @@ hy_detect_arch(char **arch)
14 if (uname(&un) < 0) 22 if (uname(&un) < 0)
15 return DNF_ERROR_FAILED; 23 return DNF_ERROR_FAILED;