25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
diff -ru dnf-4.2.18.orig/dnf/conf/config.py dnf-4.2.18/dnf/conf/config.py
|
|
--- dnf-4.2.18.orig/dnf/conf/config.py 2020-01-16 14:28:11.000000000 +0100
|
|
+++ dnf-4.2.18/dnf/conf/config.py 2020-01-16 15:57:18.198000000 +0100
|
|
@@ -419,6 +419,8 @@
|
|
@arch.setter
|
|
def arch(self, val):
|
|
# :api
|
|
+ if val in ['armv7l','armv6l','armv5tl','armv5tel','armv5tejl']:
|
|
+ val = "arm"
|
|
|
|
if val is None:
|
|
self.substitutions.pop('arch', None)
|
|
diff -ru dnf-4.2.18.orig/dnf/rpm/__init__.py dnf-4.2.18/dnf/rpm/__init__.py
|
|
--- dnf-4.2.18.orig/dnf/rpm/__init__.py 2020-01-16 15:56:44.044000000 +0100
|
|
+++ dnf-4.2.18/dnf/rpm/__init__.py 2020-01-16 15:57:48.680000000 +0100
|
|
@@ -89,7 +89,7 @@
|
|
'aarch64': ('aarch64',),
|
|
'alpha': ('alpha', 'alphaev4', 'alphaev45', 'alphaev5', 'alphaev56',
|
|
'alphaev6', 'alphaev67', 'alphaev68', 'alphaev7', 'alphapca56'),
|
|
- 'arm': ('armv5tejl', 'armv5tel', 'armv5tl', 'armv6l', 'armv7l', 'armv8l'),
|
|
+ 'arm': ('arm', 'armv5tejl', 'armv5tel', 'armv5tl', 'armv6l', 'armv7l', 'armv8l'),
|
|
'armhfp': ('armv6hl', 'armv7hl', 'armv7hnl', 'armv8hl'),
|
|
'i586': ('i386', 'athlon', 'geode', 'i386', 'i486', 'i586', 'i686'),
|
|
'ia64': ('ia64',),
|