ea029f1caa
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=143
28 lines
1001 B
Diff
28 lines
1001 B
Diff
From aa9df9a08aa2a761cd91d91376a6a7dfa820c48f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
|
|
<psuarezhernandez@suse.com>
|
|
Date: Fri, 24 May 2019 16:27:07 +0100
|
|
Subject: [PATCH] Add 'ppc64le' as a valid RPM package architecture
|
|
|
|
---
|
|
salt/utils/pkg/rpm.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/salt/utils/pkg/rpm.py b/salt/utils/pkg/rpm.py
|
|
index 828b0cecda..cb85eb99fe 100644
|
|
--- a/salt/utils/pkg/rpm.py
|
|
+++ b/salt/utils/pkg/rpm.py
|
|
@@ -21,7 +21,7 @@ log = logging.getLogger(__name__)
|
|
# These arches compiled from the rpmUtils.arch python module source
|
|
ARCHES_64 = ('x86_64', 'athlon', 'amd64', 'ia32e', 'ia64', 'geode')
|
|
ARCHES_32 = ('i386', 'i486', 'i586', 'i686')
|
|
-ARCHES_PPC = ('ppc', 'ppc64', 'ppc64iseries', 'ppc64pseries')
|
|
+ARCHES_PPC = ('ppc', 'ppc64', 'ppc64le', 'ppc64iseries', 'ppc64pseries')
|
|
ARCHES_S390 = ('s390', 's390x')
|
|
ARCHES_SPARC = (
|
|
'sparc', 'sparcv8', 'sparcv9', 'sparcv9v', 'sparc64', 'sparc64v'
|
|
--
|
|
2.17.1
|
|
|
|
|