# vim: set sw=4 sts=4 et : # Copyright: 2008 Gentoo Foundation # Author(s): Nirbheek Chauhan # 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 = { '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)