Fix loongarch architecture support
This commit is contained in:
parent
76a2bab20a
commit
002e19205f
@ -1,25 +1,24 @@
|
||||
From 77d9646088647ae2bbecb70248701458662ebf48 Mon Sep 17 00:00:00 2001
|
||||
From: Sun Haiyong <sunhaiyong@loongson.cn>
|
||||
Date: Wed, 22 Dec 2021 14:37:16 +0800
|
||||
Subject: [PATCH] Add loongarch architecture support.
|
||||
From 07faf607bb2cfa8c99ced77301c589062782b14d Mon Sep 17 00:00:00 2001
|
||||
From: Wenhua Huang <huangwenhua@kylinos.cn>
|
||||
Date: Mon, 6 May 2024 15:31:15 +0800
|
||||
Subject: [PATCH] Add loongarch architecture support
|
||||
|
||||
---
|
||||
dnf/rpm/__init__.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
dnf/rpm/__init__.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dnf/rpm/__init__.py b/dnf/rpm/__init__.py
|
||||
index 696e594..0db8e95 100644
|
||||
index 12efca7..3ac5716 100644
|
||||
--- a/dnf/rpm/__init__.py
|
||||
+++ b/dnf/rpm/__init__.py
|
||||
@@ -97,6 +97,8 @@ _BASEARCH_MAP = _invert({
|
||||
@@ -97,6 +97,7 @@ _BASEARCH_MAP = _invert({
|
||||
'mipsel': ('mipsel',),
|
||||
'mips64': ('mips64',),
|
||||
'mips64el': ('mips64el',),
|
||||
+ 'loongarch32' : ('loongarch32',),
|
||||
+ 'loongarch64' : ('loongarch64',),
|
||||
'loongarch64': ('loongarch64',),
|
||||
'noarch': ('noarch',),
|
||||
'ppc': ('ppc',),
|
||||
'ppc64': ('ppc64', 'ppc64iseries', 'ppc64p7', 'ppc64pseries'),
|
||||
--
|
||||
2.30.0
|
||||
2.33.0
|
||||
|
||||
|
||||
8
dnf.spec
8
dnf.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: dnf
|
||||
Version: 4.16.2
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A software package manager that manages packages on Linux distributions.
|
||||
License: GPL-2.0-or-later AND GPL-1.0-only
|
||||
URL: https://github.com/rpm-software-management/dnf
|
||||
@ -252,6 +252,12 @@ popd
|
||||
%{_mandir}/man8/%{name}-automatic.8*
|
||||
|
||||
%changelog
|
||||
* Mon May 06 2024 huangwenhua <huangwenhua@kylinos.cn> - 4.16.2-3
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:dnf:Fix loongarch architecture support
|
||||
|
||||
* Tue Jan 02 2024 chenhaixing <chenhaixing@huawei.com> - 4.16.2-2
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user