summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Howarth <paul@city-fan.org>2010-08-11 11:53:57 +0100
committerClark Williams <williams@redhat.com>2010-08-12 10:56:21 -0500
commit7f9f684f63dc05c7d44547879fcf6e49831bc5c6 (patch)
treee3fcf886194fc416d4539e23d1faf27c49303ad9
parent00d340c87dd2e35941084e5b4aff161bd329bb3b (diff)
downloadmock-7f9f684f63dc05c7d44547879fcf6e49831bc5c6.tar.gz
mock-7f9f684f63dc05c7d44547879fcf6e49831bc5c6.tar.xz
mock-7f9f684f63dc05c7d44547879fcf6e49831bc5c6.zip
Add i586 as a legal target arch
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. Signed-off-by: Clark Williams <williams@redhat.com>
-rwxr-xr-xpy/mock.py6
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'),