[PATCH 1/5] Add i586 as a legal target arch

Paul Howarth paul at city-fan.org
Wed Aug 11 10:53:57 UTC 2010


This is needed not only to target the legacy Fedora 11 32-bit release
but also the still-current SLES-11 32-bit and possibly others too.
---
 py/mock.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/py/mock.py b/py/mock.py
index a0e585d..f585002 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -369,9 +369,9 @@ def set_config_opts_per_cmdline(config_opts, options, args):
     config_opts['online'] = options.online
 
 legal_arches = {
-    'i386'   : ('i386', 'i686'),
-    'i686'   : ('i386', 'i686'),
-    'x86_64' : ('i386', 'i686', 'x86_64'),
+    'i386'   : ('i386', 'i586', 'i686'),
+    'i686'   : ('i386', 'i586', 'i686'),
+    'x86_64' : ('i386', 'i586', 'i686', 'x86_64'),
     'ppc'    : ('ppc'),
     'ppc64'  : ('ppc', 'ppc64'),
     'sparc'  : ('sparc'),
-- 
1.7.2.1



More information about the buildsys mailing list