aboutsummaryrefslogtreecommitdiff
blob: d88e2a072a7d765bb14f4615a353b6cdc9c0600a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# vim: set sw=4 sts=4 et :
# Copyright: 2008 Gentoo Foundation
# Author(s): Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
# License: GPL-2
#
# Immortal lh!
#

# No 'arm' in here because the dir structure is weird
# and it hasn't been updated in forever anyway.
# Use a custom stage url if you want to use arm
# 
# 'Mirror dir': (<archs that reside there>)
ARCHS       = { 'x86':     ('i686', 'x86',),
                'amd64':   ('amd64',),
                'ppc':     ('970-32ul', '970-64ul', 'g4', 'power5', 'ppc', 'ppc64',),
                'sparc':   ('sparc64',)
                'alpha':   ('alpha',),
                'ia64':    ('ia64',),
                'hppa':    ('hppa1.1', 'hppa2.0',),
                'mips':    ('cobalt', 'mips3', 'mips4', 'n32',),
                'sh':      ('sh4',),
                's390':    ('s390', 's390x',) }

# How do we get this list? Keep updating it regularly?
# Do we associate mirrors with the slave's geo location?
MIRRORS     = { 'gentoo': ('http://gentoo.osuosl.org',) }
# Example:
# http://gentoo.osuosl.org/releases/hppa/2008.0/stages/stage3-hppa2.0-2008.0.tar.bz2
STAGES      = ('stage1', 'stage2', 'stage3', 'stage4',)
STAGE_URI   = '%(mirror)/releases/%(gen_arch)s/%(release)s/stages/%(stage)s-%(arch)s-%(release)s.tar.bz2'
#stage_types = ('', 'hardened', 'hardened+nomultilib')

VERRORS     = { 'invalid_stage': 'Invalid stage: %s',
                'invalid_arch': 'Invalid arch: %s',
                'invalid_type': 'Invalid type: %s',
                'invalid_release': 'Invalid release: %s' }

for arch in ARCHS.values()[:]:
    ARCHS['all'] = ARCHS['all'].__add__(arch)