* Jesse Keating - 0.3.8 - add fedora-hosted * Dennis Gilmore - 0.3.7 - make sure user_cert is defined before refrencing it in fedora-cvs.py * Dennis Gilmore - 0.3.6 - default to annonymous checkout when there is no user cert RH BZ#514108 - quote the passed arcuments to rpmbuild to make sure args get passed correctly RH BZ#513269 * Dennis Gilmore - 0.3.5 - script for doing svn checkouts - add rpmbuild-md5 - download usercerts * Dennis Gilmore - 0.3.1 - allow annonymouse cvs checkouts - always get new ca certs * Dennis Gilmore - 0.3.0 - use pyOpenSSL to determine username - make sure cert is valid * Dennis Gilmore - 0.2.0 - fedora-cvs now allows checking out multiple modules - update urls for fedorahosted - update for fas2 * Dennis Gilmore - 0.1 - Initial release we have a comps group - fedora-packager-setup.sh and fedora-cvs ausil/public_git/anaconda.git/'>anaconda.git
Unnamed repository; edit this file to name it for gitweb.Dennis Gilmore
summaryrefslogtreecommitdiffstats
blob: 919445442214aaefa2dd8fadd18ba6f904dd3ee3 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
#
# dispatch.py: install/upgrade master flow control
#
# Erik Troan <ewt@redhat.com>
#
# Copyright 2001 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
#
# You should have received a copy of the GNU Library Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

import string
from types import *
from constants import *
from packages import readPackages, checkDependencies, doInstall
from packages import handleX11Packages, writeConfiguration, writeXConfiguration
from packages import writeKSConfiguration, turnOnFilesystems
from packages import doMigrateFilesystems
from packages import queryUpgradeContinue
from packages import doPreInstall, doPostInstall
from autopart import doAutoPartition
from partitioning import partitionMethodSetup, partitionObjectsInitialize
from partitioning import partitioningComplete
from floppy import makeBootdisk
from bootloader import writeBootloader, bootloaderSetupChoices
from flags import flags
from upgrade import upgradeFindPackages, upgradeMountFilesystems
from upgrade import upgradeSwapSuggestion, upgradeMigrateFind
from upgrade import findRootParts

# These are all of the install steps, in order. Note that upgrade and
# install steps are the same thing! Upgrades skip install steps, while
# installs skip upgrade steps.

#
# items are one of
#
#	( name, tuple)
#	( name, Function, tuple)
#
# in the second case, the function is called directly from the dispatcher

installSteps = [
    ("language", ("intf", "id.instLanguage")),
    ("keyboard", ("id.instLanguage", "id.keyboard", "id.xconfig")),
    ("mouse", ("id.mouse",)),
    ("welcome", ("id.configFileData",)),
    ("reconfigwelcome", ()),
    ("reconfigkeyboard", ("id.instLanguage", "id.keyboard", "id.xconfig")),
    ("installtype", ("dispatch", "id", "method", "intf")),
    ("findrootparts", findRootParts, ("intf", "id", "dir", "instPath")),
    ("findinstall", ("dispatch", "intf", "id", "instPath")),
    ("partitionmethod", ("id.partitions", "id.instClass")),
    ("partitionobjinit", partitionObjectsInitialize, ("id.diskset",
                                                      "id.partitions",
                                                      "dir", "intf")),
    ("partitionmethodsetup", partitionMethodSetup, ("id.partitions",
                                                    "dispatch")),
    ("autopartition", ("id.diskset", "id.partitions", "intf", "dispatch")),
    ("autopartitionexecute", doAutoPartition, ("dir", "id.diskset",
                                               "id.partitions", "intf",
                                               "id.instClass")),
    ("fdisk", ("id.diskset", "id.partitions")),
    ("partition", ("id.fsset", "id.diskset", "id.partitions", "intf")),
    ("upgrademount", upgradeMountFilesystems, ("intf", "id.upgradeRoot",
                                               "id.fsset", "instPath")),
    ("upgradecontinue", queryUpgradeContinue, ("intf", "dir")),
    ("upgradeswapsuggestion", upgradeSwapSuggestion, ("dispatch", "id",
                                                      "instPath")),
    ("addswap", ("intf", "id.fsset", "instPath", "id.upgradeSwapInfo")),
    ("partitiondone", partitioningComplete, ("id.bootloader", "id.fsset",
                                             "id.diskset", "id.partitions",
                                             "intf", "instPath", "dir")),
    ("upgrademigfind", upgradeMigrateFind, ("dispatch", "id.fsset")),
    ("upgrademigratefs",  ("id.fsset",)),
    ("bootloadersetup", bootloaderSetupChoices, ("dispatch", "id.bootloader",
                                                 "id.fsset", "id.diskset",
                                                 "dir")),