1 |
# ChangeLog for Gentoo Linux Installer |
2 |
# Copyright 2005-2005 Gentoo Technologies, Inc. |
3 |
|
4 |
# $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.425 2005/10/19 20:24:02 agaffney Exp $ |
5 |
|
6 |
*GLI-0.3 (17 Oct 2005) |
7 |
|
8 |
19 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
9 |
src/templates/x86ArchitectureTemplate.py: |
10 |
change call to 'grub' to use GLIUtility.exitsuccess() |
11 |
src/misc/updategtkfe, src/misc/updateglid: |
12 |
fix so subshell is called in root shell |
13 |
|
14 |
18 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
15 |
src/net/server/handlers/WebGLIHandler.py: |
16 |
stage screen launches URI browser in sized window with various properties set |
17 |
|
18 |
*GLI-0.2 (17 Oct 2005) |
19 |
|
20 |
17 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
21 |
src/misc/updategtkfe: |
22 |
updated to actually work |
23 |
remove previous snapshot and extracted dir before downloading |
24 |
src/misc/updateglid: |
25 |
updated to actually work |
26 |
src/templates/x86ArchitectureTemplate.py: |
27 |
fixed bug where grub code was looking for 'root+root+file_name2' |
28 |
|
29 |
16 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
30 |
src/net/server/handlers/WebGLIHandler.py: |
31 |
URI browser |
32 |
added mirror selection |
33 |
src/GLIUtility.py: |
34 |
ls via ssh strips off ending * |
35 |
|
36 |
16 Oct 2005; Preston Cody <codeman@gentoo.org> |
37 |
more updates to webgli. stage selection. |
38 |
|
39 |
11 Oct 2005; Preston Cody <codeman@gentoo.org> |
40 |
updated webgli with preliminary Network Mounts support. |
41 |
|
42 |
9 Oct 2005; Preston Cody <codeman@gentoo.org> |
43 |
GenDialog: string formatting and yes/no label fixes. |
44 |
added WebGLI template for gliserv.py |
45 |
added WebGLIHandler as well as a definition for it in gliserv.py |
46 |
updates to the webgli files even though they won't be there for long. |
47 |
Utility: remove exception for non-existant grppkgs.txt until the new livecd |
48 |
goes public. |
49 |
|
50 |
9 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
51 |
src/net/server/gliserv.py: |
52 |
override dict to not be so anal |
53 |
main server now loads separate module to handle requests |
54 |
src/net/server/handlers/ProfileHandler.py, src/net/server/handler.py: |
55 |
split out profile URLs into separate handler function |
56 |
move handlers into subdirectory |
57 |
add Welcome and Clients handlers |
58 |
|
59 |
5 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
60 |
src/GLIUtility.py: |
61 |
raise exception if password prompt received twice |
62 |
|
63 |
2 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
64 |
src/GLIUtility.py: |
65 |
removed rot13ify() |
66 |
|
67 |
1 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
68 |
src/net/server/gliserv.py: |
69 |
allow for param to be passed multiple times in GET |
70 |
no XMLRPC functions return None |
71 |
modify POST request parsing to only create a list if needed |
72 |
fix GET request parsing so the list creation for multiple values works |
73 |
src/net/client/gliclient.py: |
74 |
various typo and type mismatch fixes |
75 |
exit after exception |
76 |
|
77 |
30 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
78 |
src/net/client/gliclient.py: |
79 |
initial commit |
80 |
pass MAC to XMLRPC functions |
81 |
src/net/server/GLIServerProfile.py: |
82 |
rename GLIClientsProfiles to GLIServerProfile |
83 |
|
84 |
29 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
85 |
src/net/server/gliserv.py: |
86 |
now handles POST requests |
87 |
move majority of request handling code to common_handler() to reduce code |
88 |
duplication |
89 |
profile loading |
90 |
client reg via XMLRPC goes into SharedInfo() |
91 |
/showclients redesign |
92 |
template fixes |
93 |
allow handler functions to add/change headers |
94 |
save profile |
95 |
|
96 |
28 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
97 |
src/net/server/GLIClientsProfiles.py: |
98 |
initial commit |
99 |
src/net/server/template.html: |
100 |
initial commit |
101 |
src/net/server/gliserv.py: |
102 |
add template mojo |
103 |
|
104 |
26 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
105 |
src/net/server/gliserv.py: |
106 |
XMLRPC mojo |
107 |
|
108 |
22 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
109 |
src/GLIArchitectureTemplate.py: |
110 |
add code in _edit_config() to comment line where variable is defined |
111 |
previously |
112 |
insert new line under previous definition of variable if it exists |
113 |
small _edit_config() cleanup |
114 |
src/GLIStorageDevice.py: |
115 |
add clear_partitions() function |
116 |
new sizes for recommended partition layout |
117 |
automatically calculate swap size for recommended layout |
118 |
|
119 |
21 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
120 |
src/templates/x86ArchitectureTemplate.py: |
121 |
fat16 mojo |
122 |
|
123 |
20 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
124 |
src/GLIStorageDevice.py: |
125 |
prevent do_recommended() from being run twice |
126 |
rewrite do_recommended() to be more robust |
127 |
src/GLIArchitectureTemplate.py: |
128 |
rework _edit_config() to not write duplicate entries |
129 |
|
130 |
17 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
131 |
src/GLIStorageDevice.py: |
132 |
added do_recommended() function to automatically created 256M/1G/* layout |
133 |
|
134 |
17 Sep 2005; Preston Cody <codeman@gentoo.org> |
135 |
src/gli-dialog.py: added set_distcc to the list |
136 |
GenDialog: added set_distcc. untested. |
137 |
IP: added install_distcc flag. |
138 |
AT: added install_distcc function based on the flag. runs after build_kernel |
139 |
changed AT spawn command for distcc for nodeps. |
140 |
|
141 |
16 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
142 |
src/GLIUtility.py: |
143 |
add rot13ify() function |
144 |
|
145 |
16 Sep 2005; Preston Cody <codeman@gentoo.org> |
146 |
src/GenDialog.py |
147 |
added a sentence of text. unchecking support added. |
148 |
|
149 |
15 Sep 2005; Preston Cody <codeman@gentoo.org> |
150 |
src/GLIUtility.py |
151 |
added get_grp_pkgs_from_cd() to return a list of packages in GRP for FE menus |
152 |
src/GenDialog.py |
153 |
still working on extra_packages. transformed the list to new format. |
154 |
added GRP indication to list. untested. |
155 |
TODO lists updated. |
156 |
src/fe/dialog/gli-dialog.py |
157 |
spelling mistook. |
158 |
|
159 |
14 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
160 |
src/GLIUtility.py: |
161 |
get_snapshot_from_cd() returns '' instead of 'file://' if nothing found |
162 |
|
163 |
5 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
164 |
src/GLIUtility.py: |
165 |
add get_directory_listing_from_uri() |
166 |
add http support to above |
167 |
add ftp support to above |
168 |
add scp support to above |
169 |
src/GLIArchitectureTemplate.py: |
170 |
"0" instead of 0 for key of single-element dict passed to _edit_config() |
171 |
|
172 |
5 Sep 2005; Preston Cody <codeman@gentoo.org> |
173 |
value_only -> only_value |
174 |
|
175 |
3 Sep 2005; Preston Cody <codeman@gentoo.org> |
176 |
gutted out all of etc_portage structure since it is now all handled by |
177 |
etc_files |
178 |
|
179 |
3 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
180 |
src/GLIArchitectureTemplate.py: |
181 |
install_packages() sends progress update notifications |
182 |
src/templates/x86ArchitectureTemplate.py: |
183 |
increase sleep to 5s between format tries |
184 |
src/GLIClientController.py: |
185 |
pass 'self' to AT instead of 'self._pretend' |
186 |
|
187 |
2 Sep 2005; Preston Cody <codeman@gentoo.org> |
188 |
logger -> logger.log in x86AT |
189 |
|
190 |
1 Sep 2005; Preston Cody <codeman@gentoo.org> |
191 |
added set_etc_portage to IP. debugging gli-d's support for it. |
192 |
|
193 |
1 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
194 |
src/templates/x86ArchitectureTemplate.py: |
195 |
switch to 3 tries for mkfs instead of looping waiting for dev node to exist |
196 |
|
197 |
30 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
198 |
src/GLIArchitectureTemplate.py: |
199 |
add _portage_best_version() function and rework install_packages() to allow |
200 |
for future X of Y tracking |
201 |
Use best_visible instead of best_version |
202 |
tracked down and fixed missing = causing empty install extra packages |
203 |
use = when emerging also |
204 |
quickpkg hokey pokey |
205 |
run _get_packages_to_emerge() again with -pk |
206 |
|
207 |
22 Aug 2005; Preston Cody <codeman@gentoo.org> |
208 |
src/ArchTemplate: removed install_xorg_x11, and put the xorg.conf copying at |
209 |
the end of install_packages. |
210 |
added updateglid to /src/misc |
211 |
updated all core files with new GPL notice and copyright statement. |
212 |
|
213 |
21 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
214 |
src/GLIUtility.py: |
215 |
fix get_snapshot_from_cd() to look in /mnt/livecd/snapshots/ if it can't find |
216 |
a snapshot in /mnt/cdrom/snapshots/ |
217 |
get_snapshot_from_cd() adds file:// at the beginning |
218 |
change calls to extra package special case functions to 'self.blah' |
219 |
|
220 |
21 Aug 2005; Preston Cody <codeman@gentoo.org> |
221 |
src/ArchTemplate: changed "voodoo". |
222 |
changed order of portage sync methods. made a fallback to webrsync if |
223 |
normal emerge sync fails. |
224 |
removed get_sources_from_cd because it is obsolete. |
225 |
add special cases to install_packages. remove fatal exception on package |
226 |
install failure b/c the box will still be bootable. |
227 |
add install_xorg_x11. remove adding of xdm to runlevel. this will now be |
228 |
handled in the FEs. |
229 |
src/GenDialog: added a bunch of code for dealing with x11-based packages. |
230 |
awaiting testing. |
231 |
|
232 |
20 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
233 |
src/GLIStorageDevice.py: |
234 |
global try/except block around fs resizable detection code |
235 |
src/GLIArchitectureTemplate.py, src/GLIClientController.py: |
236 |
install-failed cleanup function |
237 |
|
238 |
18 Aug 2005; Preston Cody <codeman@gentoo.org> |
239 |
x86ArchTemplate: updated lilo code. separated out THREE commands. untested. |
240 |
|
241 |
16 Aug 2005; Preston Cody <codeman@gentoo.org> |
242 |
GLIGenDialog: |
243 |
add drive choices for loaded configs. |
244 |
force snapshot for dynamic_stage3 |
245 |
init the snapshoturi input to the cd snapshot if not already selected. |
246 |
if dynamic_stage3, skip the make.conf step. |
247 |
GLIUtility: add get_cd_snapshot_uri() for local snapshots. |
248 |
this fixes parts 1,2,3,6 of bug 102747 for gli-dialog |
249 |
|
250 |
16 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
251 |
src/GLIArchitectureTemplate.py: |
252 |
manually call MAKEDEV in stage3-dynamic code |
253 |
copy /etc/inittab.old to /etc/inittab in chroot |
254 |
src/GLIUtility.py: |
255 |
add beginning of validate_uri() function |
256 |
add file:/// support to validate_uri() |
257 |
single quotes when setting livecd password |
258 |
|
259 |
15 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
260 |
src/GLIGenDialog.py: |
261 |
change getmountpoint() to get_mountpoint() |
262 |
src/misc/updategtkfe: |
263 |
committed script to automatically download latest snapshot and run gtkfe |
264 |
src/templates/x86ArchitectureTemplate.py: |
265 |
fix _configure_lilo_add_windows() for IP -> GLISD stuff |
266 |
src/GLIArchitectureTemplate.py: |
267 |
give tmp_minor an initial value in mount_local_partitions so that the value |
268 |
remain from the previous drive |
269 |
|
270 |
14 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
271 |
src/templates/x86ArchitectureTemplate.py: |
272 |
Fix _configure_lilo() for IP using GLISD stuff |
273 |
src/GLIArchitectureTemplate.py: |
274 |
install_cron_daemon() treats "none" specially |
275 |
|
276 |
14 Aug 2005; Preston Cody <codeman@gentoo.org> |
277 |
old patch from Steven Mertens to resolve bug #96642 |
278 |
numerous asthetic changes to GenDialog, no real functionality changes though. |
279 |
strings renamed for global use if necessary. |
280 |
fix all three parts of bug 102291 |
281 |
disable set_etc_portage until fully-written. |
282 |
|
283 |
13 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
284 |
src/GLIClientController.py: |
285 |
lower-case http/ftp proxy envvars |
286 |
|
287 |
12 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
288 |
src/GLIClientController.py: |
289 |
log end of pre_install steps to aid in debugging |
290 |
src/templates/x86ArchitectureTemplate.py: |
291 |
change set_flag(flag) to set_flag(flag, True)...*stab* *stab* |
292 |
|
293 |
10 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
294 |
src/GLIArchitectureTemplate.py |
295 |
check to make sure that the device node we're wait for to exist isn't of |
296 |
type 'free' |
297 |
|
298 |
09 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
299 |
src/GLIGenDialog.py: |
300 |
convert install_packages to list in set_extra_packages() |
301 |
check return code of checklist() call in "Manual" section |
302 |
*actually* fix the first problem |
303 |
|
304 |
08 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIUtility.py: |
305 |
"source /etc/profile" does not ensure the ENV is correctly set up. Use "bash |
306 |
-l" instead, to ensure a proper environment (important for CONFIG_PROTECT). |
307 |
|
308 |
06 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
309 |
src/GLIArchitectureTemplate.py: |
310 |
re-fix net.eth1+ symlink code...wtf is wrong with cvs? |
311 |
|
312 |
04 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
313 |
Add CDATA support to SimpleXMLParser and add utility functions for it. |
314 |
|
315 |
04 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> |
316 |
src/GLIArchitectureTemplate.py: |
317 |
Fix case where vixie-cron is specified as a full package atom, as we still |
318 |
don't want to run 'crontab /etc/crontab' for it. |
319 |
|
320 |
*GLI-0.1 (3 Aug 2005) |
321 |
|
322 |
30 Jul 2005; Preston Cody <codeman@gentoo.org> |
323 |
add scp to list of is_uri() so GenDialog doesn't complain. |
324 |
fixed livecd-kernel bug in bootloader code. |
325 |
fixed gendialog for dynamic_stage3 instead of "networkless" |
326 |
change bootloader to allow for both initrd and initramfs. |
327 |
fix IP for dynamic_stage3. |
328 |
fix ArchTemplate for broken mountpoint creation. fix GenDialog part showing. |
329 |
|
330 |
30 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
331 |
Added full scp:// URI support to get_uri() in GLIUtility |
332 |
Remove "networkless" from dynamic stage3 if locic. |
333 |
Remove print statement from scp:// code. |
334 |
Change scp code to check for "assword: " instead of "Password:" |
335 |
Fix post-install network code to create net.eth1+ symlink correctly |
336 |
Check to make sure pkg can be split on / and some debugging code |
337 |
Add 2>dev/null to emerge call in _get_packages_to_emerge() |
338 |
SimpleXMLParser handles True/False/None correctly now |
339 |
Comment out above fix |
340 |
Add partitioning wait-for-device-to-exist code to mount_local_partitions |
341 |
|
342 |
28 Jul 2005; Scott Myron <samyron@gentoo.org> |
343 |
Removed a FIXME in the GLIClientConfiguration that is no |
344 |
longer needed. |
345 |
|
346 |
27 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
347 |
Default to x86 in ClientConfig |
348 |
Typo in build-a-stage3 code. |
349 |
Remove MAKEDEV call in build-a-stage3 postscript. |
350 |
|
351 |
26 Jul 2005; Preston Cody <codeman@gentoo.org> |
352 |
Rewrote init of IP for gli-d. Other GenDialog updates. |
353 |
allow network_type to be None in CConfig. |
354 |
|
355 |
24 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
356 |
Add _dynamic_stage3 option to IP. |
357 |
Add check for that option to dynamic stage3 code in ArchTemplate. |
358 |
Fix code to determine default route in get_eth_info() in GLIUtility. |
359 |
Fix serialization of dns-servers in ClientConfig. |
360 |
|
361 |
24 Jul 2005; Preston Cody <codeman@gentoo.org> |
362 |
changed default values of cron/logger in IP. |
363 |
moved GenDialog IP init out to the individual files. gli-dialog's version |
364 |
will change quite a bit. |
365 |
|
366 |
22 Jul 2005; Preston Cody <codeman@gentoo.org> |
367 |
added ppcArchTemplate. blank now. working on yaboot. |
368 |
modified ArchTemplate for amd64 and ppc custom kernels. |
369 |
skeleton implementation of _configure_yaboot. |
370 |
small fixes to other templates. |
371 |
|
372 |
21 Jul 2005; Preston Cody <codeman@gentoo.org> |
373 |
GenDialog updates. changed comment in IP. |
374 |
|
375 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
376 |
src/GLIInstallProfile.py: |
377 |
Fix codeman's screwup of changing the service seperator to ',' in the parser |
378 |
without changing it in the serialization code! Also document this in a |
379 |
comment so you find it easier. Everybody needs to make sure they update |
380 |
their install profiles! |
381 |
|
382 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
383 |
src/GLIArchitectureTemplate.py: |
384 |
Fix casting of list to string and concat of None with string, as well as |
385 |
commented prototype of checking that mounting actually worked (found a case |
386 |
where mount can return success, but the mount won't be done). |
387 |
|
388 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
389 |
src/templates/x86ArchitectureTemplate.py: |
390 |
Remove TEMP UGLY HACK of time.sleep(5), and replace it with a while loop |
391 |
checking for the device, and sleeping 1 second each time. |
392 |
|
393 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
394 |
src/templates/x86ArchitectureTemplate.py: |
395 |
Refactor install_bootloader code and _install_{grub,lilo} so that 'none' for |
396 |
bootloader works again. Also rename _install_{grub,lilo} to |
397 |
_configure_{grub,lilo} since they don't install the loaders anymore |
398 |
themselves. |
399 |
|
400 |
7 Jul 2005; Preston Cody <codeman@gentoo.org> |
401 |
fix global USE flags to not include the arch types at the end. |
402 |
updates to GenDialog and gli-d. |
403 |
|
404 |
6 Jul 2005; Preston Cody <codeman@gentoo.org> |
405 |
fixing bootloader code for no initrd and initrd->initramfs naming change. |
406 |
|
407 |
6 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
408 |
Proper comments and parameters to GLIException in install_mta() |
409 |
Allow optional exclusion of HTTP, FTP, and/or RSYNC mirrors in list_mirrors() |
410 |
Add strip() to list_mirrors(), list_subarch_from_mirror() and |
411 |
list_tarball_from_mirror() to eliminate blank last item. |
412 |
|
413 |
5 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
414 |
Added stage3 generation code. |
415 |
|
416 |
5 Jul 2005; Preston Cody <codeman@gentoo.org> |
417 |
Added sleep(5) to partitioning code, temp got rid of the NOCOLOR in _emerge |
418 |
Mild changes to GenDialog. |
419 |
|
420 |
30 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
421 |
Remove separate install step configure_rc_conf() since it's handled by |
422 |
update_config_files() |
423 |
Make a copy of newvalues in _edit_config() so quotes aren't added when the |
424 |
function is called twice on the same file. |
425 |
|
426 |
29 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
427 |
Missing \ in sed in _get_packages_to_emerge() |
428 |
Removed explicit emerging of hotplug and no longer add it to the runlevel. |
429 |
Check in _quickpkg_deps() to ignore blank package names returned from |
430 |
_get_packages_to_emerge() |
431 |
|
432 |
28 Jun 2005; Preston Cody <codeman@gentoo.org> |
433 |
fixed agaffney's missing = and extra : in x86AT. commented out crashing line |
434 |
in the dialog.py gauge code. |
435 |
|
436 |
28 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
437 |
Add code to update_config_files() to go through etc_files and update stuff. |
438 |
Check to see that _etc_files['make.conf'] exists in get_make_conf() |
439 |
Only use float() in partition xml parsing code if type == "free" |
440 |
|
441 |
28 Jun 2005; Preston Cody <codeman@gentoo.org> |
442 |
finished almost all internationalization of GenDialog. |
443 |
attempt at fixing rc.conf function. moved 3 generate functions out of |
444 |
fe/gtk/RcDotConf and put them in Utility. fixed self bug. |
445 |
added dialog.py to the fe/dialog directory so it actually gets used. |
446 |
|
447 |
27 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
448 |
Roll rc_conf and make_conf into master etc_files structure in InstallProfile. |
449 |
|
450 |
27 Jun 2005; Preston Cody <codeman@gentoo.org> |
451 |
fix extra entry in list_mirrors() |
452 |
beginning internationalization runthrough. |
453 |
|
454 |
26 Jun 2005; Preston Cody <codeman@gentoo.org> |
455 |
added dialog.py to /src temporarily until it gets accepted upstream. |
456 |
fix for unused value in form in dialog.py and changed heights. |
457 |
fix GenDialog forms. |
458 |
|
459 |
25 Jun 2005; Preston Cody <codeman@gentoo.org> |
460 |
Changed hostname/domainname for new baselayout. |
461 |
Changed _add_to_runlevel errors to logs. |
462 |
Updated TODO list to show status of GenDialog |
463 |
More updates to GenDialog including two checklists that probably won't work. |
464 |
update IP to use comma-separated list instead of space separated for services. |
465 |
|
466 |
24 Jun 2005; Preston Cody <codeman@gentoo.org> |
467 |
Add dhcp_options to the CC, CConfig, and GenDialog. More overall changes to |
468 |
GenDialog as it gets closer to completion. |
469 |
|
470 |
22 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
471 |
Modify get_eth_info() to take a full interface name (eth0 fex). float() |
472 |
instead of int() in add_partition_device_partition() for minor (closes 96804) |
473 |
|
474 |
21 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
475 |
Changed setup_network_post to check for 'interfaces[interface][0] != "dhcp"' |
476 |
instead of 'interfaces[interface][1]' since DHCP uses that field for its |
477 |
options. setup_network_post() writes custom DHCP options to /etc/conf.d/net. |
478 |
|
479 |
20 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
480 |
Apply spawn() patch from #96644 (with minor changes). Make sure the return |
481 |
value from all spawn() calls is checked with GLIUtility.exitsuccess(). Fix |
482 |
small error with <pipe>.close() returning None. Fix space vs. tab issue. |
483 |
Fix undefined variable 'output' issue in spawn(). |
484 |
|
485 |
20 Jun 2005; Preston Cody <codeman@gentoo.org> |
486 |
More updates to GenDialog and gli-d. |
487 |
|
488 |
19 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
489 |
Modify list_mirrors() to return a list of mirror URL/name pairs. |
490 |
|
491 |
19 Jun 2005; Preston Cody <codeman@gentoo.org> |
492 |
Adding gli-dialog.py. Updates to GenDialog. Added function to GLIUtility to |
493 |
get subarch. |
494 |
|
495 |
16 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
496 |
Backend partitioning will create disklabel is none exists. Installprofile |
497 |
defaults to "" now instead of "msdos" for disklabel type. Fix for |
498 |
mount_local_partitions() to remember device along with minor in the |
499 |
parts_to_mount dict (closes #96319). mount_local_partitions() cleanups and |
500 |
add else block to log unsupported netmount types to mount_network_shares() |
501 |
|
502 |
15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
503 |
src/GLIArchitectureTemplate.py: |
504 |
Refactor kernel_compile common stuff, fix 2.4 build process. |
505 |
src/fe/cli/clife.py: |
506 |
Logging system. |
507 |
src/GLIUtility.py, src/GLIStorageDevice.py: |
508 |
Add comments about re-writes needed for boxes without sysfs. |
509 |
|
510 |
15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
511 |
src/GLIArchitectureTemplate.py: |
512 |
2.4 support (pull version data from /usr/src/linux/Makefile), incl. |
513 |
'make dep' call for custom compile. build_mode support for prepare-only and |
514 |
none types completed. custom compile function chains shell functions in |
515 |
spawned script, to allow for catching all errors. |
516 |
|
517 |
15 Jun 2005; Preston Cody <codeman@gentoo.org> |
518 |
fixed up build_kernel in ArchTemplate for build_mode as well as in dialogfe |
519 |
and GenDialog. other gendialog updates as well. kernel updates untested. |
520 |
|
521 |
14 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
522 |
src/GLIInstallProfile.py: |
523 |
Change structure of etc-portage stuff. The serialization was broken before my |
524 |
last commit, and I am the only person that's ever used it. The new schema is |
525 |
as follows: |
526 |
<etc-portage> |
527 |
<file name="package.mask"/> |
528 |
<file name="package.unmask"> |
529 |
<entry atom="sys-kernel/openmosix-sources"/> |
530 |
</file> |
531 |
<file name="package.use"> |
532 |
<entry atom="sys-libs/db"> |
533 |
-java |
534 |
</entry> |
535 |
<entry atom="dev-libs/cyrus-sasl"> |
536 |
-ldap |
537 |
</entry> |
538 |
</file> |
539 |
</etc-portage> |
540 |
|
541 |
|
542 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
543 |
src/GLIInstallProfile.py: |
544 |
Add new entry for gli-profile/kernel-build-method item. Add missing |
545 |
serialize_etc_portage (temporary). Make serialize_make_conf always print the |
546 |
keys in the same order. |
547 |
|
548 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
549 |
src/GLIArchitectureTemplate.py: |
550 |
Clean up commenting used by _edit_config(), and fix bug where wrong comment |
551 |
was repeatedly appended to make.conf. |
552 |
|
553 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
554 |
src/GLIArchitectureTemplate.py: |
555 |
Put some Linux-2.6 specific code under a if statement. Store list of |
556 |
successfully mounted swap device for using swapoff. Add proper error checking |
557 |
to install_packages and install_filesystem_tools. Fixed namespace conflicts on |
558 |
'file'. Clean up some redundant code (thanks to pychecker).' |
559 |
|
560 |
13 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
561 |
Fix typos: get_extended() instead of get_extended_partition(). Added |
562 |
list_mirrors() and list_stage_tarballs_from_mirror() functions to GLIUtility. |
563 |
Change _emerge("sync") call to direct call to spawn to avoid 'emerge -k sync' |
564 |
|
565 |
12 Jun 2005; John N. Laliberte <allanonjl@gentoo.org> |
566 |
GLIInstallProfile.py: add missing set for dhcp_options if a tuple is passed |
567 |
in add_network_interface. |
568 |
|
569 |
12 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIArchitectureTemplate.py: |
570 |
ensure PORTAGE_TMPDIR/PORT_LOGDIR/PORTDIR_OVERLAY/PKGDIR exist prior to any |
571 |
usage - this caused a failure for stage1/stage2 previously. swapoff for swap |
572 |
space at end of install. Mount /dev, /dev/shm, /dev/pts and /sys during |
573 |
prepare_chroot. |
574 |
|
575 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> +src/cli/clife.py, |
576 |
+src/cli/README, +src/fe/installer-cli, +src/fe/installer-dialog, |
577 |
+src/fe/installer-gtk: |
578 |
Add new automated CLI frontend. Add scripts that are the intended means to |
579 |
use each frontend. |
580 |
|
581 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
582 |
src/GLIClientController.py: |
583 |
Add null type to network config, for cases where the interface is already up |
584 |
and should not be touched (netboot for example). |
585 |
|
586 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
587 |
src/GLIArchitectureTemplate.py: |
588 |
pcmcia is not a variable name for a call to _add_to_runlevel, it should be a |
589 |
string!. Try to use binary packages if available by default. |
590 |
|
591 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
592 |
src/GLIArchitectureTemplate.py: |
593 |
More error checking for _add_to_runlevel, to ensure that the init script |
594 |
actually exists before we try to add it. set_services phase must take place |
595 |
after the package installation, otherwise the init scripts might not exist. |
596 |
Find the correct init script for the cron and logging daemons, and add that |
597 |
instead of the package atom. |
598 |
|
599 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
600 |
src/GLIArchitectureTemplate.py: |
601 |
Fix up _edit_config so that it works if the file doesn't already exist. Fix |
602 |
usage of 'file' to 'contents' for the variable name, as it shadows |
603 |
__builtin__.file. |
604 |
|
605 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
606 |
src/GLIArchitectureTemplate.py: |
607 |
Add MTA install code, and include MTA install phase. Ensure |
608 |
PORT_LOGDIR/PORTDIR_OVERLAY are created in _emerge if needed. Add support |
609 |
for 'none' kernel config for build_kernel phase. Put kernel_script in |
610 |
/var/tmp instead of /root for build_kernel phase. |
611 |
|
612 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py: |
613 |
Rename mta variables to match syslog/cron variables. |
614 |
|
615 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
616 |
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py, |
617 |
src/.cvsignore, src/fe/dialog/.cvsignore, src/fe/gtk/.cvsignore, |
618 |
src/fe/net/client/.cvsignore, src/fe/net/server/.cvsignore, |
619 |
src/templates/.cvsignore, src/tests/.cvsignore: |
620 |
Refactor partition formatting again to include error checking. Allow 'none' |
621 |
for kernel and bootloader specifications. Add .cvsignore files for .py[co]. |
622 |
|
623 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
624 |
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py: |
625 |
Refactor _emerge to remove duplicate code. Refactor mkfs code in backend to |
626 |
only have a single spawn call. |
627 |
|
628 |
11 Jun 2005; Preston Cody <codeman@gentoo.org> |
629 |
refixed samyron's fix of set_architecture_template. |
630 |
|
631 |
11 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
632 |
Move /tmp/spawn.sh and /tmp/post-install to /var/tmp since that should always |
633 |
be executable. |
634 |
|
635 |
10 Jun 2005; Scott Myron <samyron@gentoo.org> |
636 |
Fixed one of the FIXME's in the ClientConfiguration. There is now some |
637 |
error checking when you call set_architecture_template. |
638 |
|
639 |
10 Jun 2005; Preston Cody <codeman@gentoo.org> |
640 |
moved the mkfsopts input to the partition options menu instead of the during |
641 |
the creation process. updated GenDialog to say it supports reiserfs v3. |
642 |
|
643 |
9 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py, |
644 |
src/GLIStorageDevice.py, fe/dialog/dialogfe.py: |
645 |
Complete support for 'mkfsopts' parameter in main system and dialogfe. |
646 |
Add support for other partition types to dialogfe. |
647 |
Fix all usages of int(possible_big_number) to long(possible_bit_number) to |
648 |
avoid integer overflows and wraparounds. |
649 |
|
650 |
9 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
651 |
Removed start/end from XML output and added mkfsopts to partitioning info. |
652 |
'mkfsopts' parameter is now used and support for creating xfs, jfs, and |
653 |
reiserfs is now in (patch from robbat2). Change '_parser' to 'self._parser' |
654 |
in GLIClientConfiguration. Change from .1 and .9 to constants for |
655 |
partitioning. Fix free space overwriting bug. Remove a few unused functions |
656 |
from rewrite. Fix call to get_partition_at() |
657 |
|
658 |
8 Jun 2005; Preston Cody <codeman@gentoo.org> |
659 |
Updates to GenDialog and dialogfe. |
660 |
|
661 |
7 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
662 |
Typo (%$^&#$!) fix in GLIStorageDevice. Minor fix recommended by pychecker |
663 |
|
664 |
6 Jun 2005; Preston Cody <codeman@gentoo.org> |
665 |
more GenDialog updates to partitioning. |
666 |
|
667 |
5 Jun 2005; Preston Cody <codeman@gentoo.org> |
668 |
Indenting issue in GLISD/get_ordered_partition_list. |
669 |
updates to GenDialog partitioning and added default UTC for timezone in IP. |
670 |
|
671 |
5 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
672 |
Added GLISD.get_model() |
673 |
|
674 |
3 Jun 2005; Preston Cody <codeman@gentoo.org> |
675 |
Added get_eth_devices() to GLIUtility. Updated netfe.py to newest version. |
676 |
More updates to GenDialog :) |
677 |
|
678 |
3 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
679 |
Added get_interface_realname() function. |
680 |
|
681 |
2 Jun 2005; Preston Cody <codeman@gentoo.org> |
682 |
Added auto-save of CConfig and copying to new /root after install. |
683 |
yet even more GenDialog updates. |
684 |
|
685 |
1 Jun 2005; Preston Cody <codeman@gentoo.org> |
686 |
removed print statement from GLISD. more updates to GenDialog. |
687 |
|
688 |
31 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
689 |
Not being able to fetch the stage tarball is now an exception. Chroot wrapper |
690 |
passes along exit code. Fix typo in GLIStorageDevice causing mountopts to be |
691 |
loaded from XML as ['mountopts']. Changed 'data' to 'self.data' in a few |
692 |
places in GLIClientConfiguration. |
693 |
|
694 |
27 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
695 |
Fix mount_local_partitions(), configure_fstab(), and |
696 |
install_filesystem_tools() to use GLISD directly. A few more fixes for same. |
697 |
A few more fixes for templates/x86Archtemplate |
698 |
|
699 |
27 May 2005; Preston Cody <codeman@gentoo.org> |
700 |
Removed more unused code from CConfig. Updated GLIGenDialog, but it is still |
701 |
a work in progress. |
702 |
|
703 |
24 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
704 |
Changes in IP, GLISD, and templates/x86Archtemplate for IP using GLISD |
705 |
directly. GLISD can now handle data imported from XML. |
706 |
|
707 |
22 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
708 |
Missing colon in GLIClientConfiguration. Add fix to GLIStorageDevice to |
709 |
handle blank (no disklabel) disks. |
710 |
|
711 |
20 May 2005; Preston Cody <codeman@gentoo.org> |
712 |
HUGE Reorganization of the InstallProfile. All sections alphabetized, cleaned |
713 |
up, documented, and separated out serialization and grouped all sections. |
714 |
|
715 |
19 May 2005; Preston Cody <codeman@gentoo.org> |
716 |
Reorganization of ClientConfiguration and gutting of unused functions. |
717 |
Removed verbose option from CC. Moved import statement in IP and CConfig up. |
718 |
|
719 |
18 May 2005; Preston Cody <codeman@gentoo.org> |
720 |
Fix use of /mnt/gentoo instead of _chroot_dir in finishing_cleanup |
721 |
|
722 |
17 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
723 |
Fixed bug in finishing_cleanup(). Fix a late-night coding error in |
724 |
partitioning. CC serializes install profile to disk and prepare_chroot() |
725 |
copies it into /mnt/gentoo/root |
726 |
|
727 |
16 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
728 |
Moved URI parsing into new function parse_uri() |
729 |
|
730 |
14 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
731 |
Added XMLParser module. |
732 |
|
733 |
13 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
734 |
Fix is_realstring() and rewrite is_uri() to use a regex to parse the URI. |
735 |
Minor fix to is_uri() regex to allow hyphens in hostname. |
736 |
|
737 |
12 May 2005; Preston Cody <codeman@gentoo.org> |
738 |
Updated finishing_cleanup for new unmounting method from agaffney. |
739 |
|
740 |
12 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
741 |
Fix GLILogger to use correct time format string. Fix _edit_config() to |
742 |
properly comment out variables. Fix minor bug in finishing_cleanup(). Add |
743 |
unicode support to is_realstring(). |
744 |
|
745 |
11 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
746 |
Added --nocolor to all emerge calls. Fix is_eth_device to test for zero |
747 |
return value instead of non-zero. Add code to output a traceback to the |
748 |
install log in the event of a GLI or non-GLI exception. Use NOCOLOR=yes |
749 |
instead of --nocolor. |
750 |
|
751 |
10 May 2005; Preston Cody <codeman@gentoo.org> |
752 |
Added GLIGenDialog.py to make a generic class for the dialog functions that |
753 |
can be used by both dialogfe and the netfe/be. updated both for new filename. |
754 |
date changes. 2004->2005. |
755 |
|
756 |
10 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
757 |
Removed 'quiet=True' from spawn() calls |
758 |
|
759 |
10 May 2005; Preston Cody <codeman@gentoo.org> |
760 |
Updated GLIUtility with patches from chotchki. Also added documentation |
761 |
|
762 |
9 May 2005; Preston Cody <codeman@gentoo.org> |
763 |
Added the function for set_etc_portage to ArchTemplate. no step for it yet. |
764 |
Updated _edit_config in ArchTemplate, make_config, and various other fixes |
765 |
from bug #89683, mostly touchups. |
766 |
|
767 |
6 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
768 |
GLIStorageDevice cleanup patch from bug #91761 |
769 |
|
770 |
3 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
771 |
Fixed timezone code to not link to /mnt/gentoo/usr/share/zoneinfo/blah. Fix |
772 |
_edit_config(). Error logging casts 'error' to str |
773 |
|
774 |
2 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
775 |
Exceptions received in CC are logged before being passed to the FE. Added |
776 |
code to CC to handle exceptions *not* thrown by the installer itself. |
777 |
|
778 |
1 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
779 |
get_max_mb_for_resize() returns -1 if not self.resizeable |
780 |
|
781 |
30 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
782 |
More dirty rsync hacks :-/ |
783 |
|
784 |
29 Apr 2005; Preston Cody <codeman@gentoo.org> |
785 |
Patches from chotchki (bug #90325) to improve CC networking. untested. |
786 |
|
787 |
29 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
788 |
Proxies patch from chotchki (bug #90147). Fixed == instead of = typos in |
789 |
GLIStorageDevice (pointed out by chotchki). Fixed missing int()s. Split |
790 |
'custom' sync option into 'none' and 'snapshot'. Minor fixes to |
791 |
GLIStorageDevice as suggested by pychecker. Fix minor bug in |
792 |
_get_packages_to_emerge(). Fix _quickpkg_deps() to call |
793 |
_get_packages_to_emerge() |
794 |
|
795 |
28 Apr 2005; Preston Cody <codeman@gentoo.org> |
796 |
Added group-adding code to set_users in ArchTemplate |
797 |
|
798 |
27 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
799 |
Added post-install script code |
800 |
|
801 |
23 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
802 |
Fixed encapsulation issues in GLIClientController (bug #90141) |
803 |
|
804 |
22 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
805 |
Update resizing code in GLIStorageDevice |
806 |
|
807 |
17 Apr 2005; Preston Cody <codeman@gentoo.org> |
808 |
Update AUTHORS, NEWS, TODO. Added documentation to GLILogger. |
809 |
|
810 |
17 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
811 |
Reverted change to ArchTemplate and added support for commented line in old |
812 |
code. |
813 |
|
814 |
16 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
815 |
Changed _edit_config() to modify value in-place instead of commenting out and |
816 |
adding the new value to the end of the file. |
817 |
|
818 |
15 Apr 2005; Preston Cody <codeman@gentoo.org> |
819 |
Back. Did the docuementation thang for ArchTemplate and ClientConfiguration. |
820 |
Also updated TODO list. |
821 |
|
822 |
14 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
823 |
Use blackace's one-liner to add comments for all function for use with |
824 |
pythondoc. |
825 |
|
826 |
13 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
827 |
Moved 'end >= device_sectors' check out of loop to check for next partition's |
828 |
start point (thanks to Marco Djukic). Fix >4 primary partitions on non-x86. |
829 |
Partitioning code now tracks start/end of extended for placing logicals. End |
830 |
point of logical is now adjusted along with start. |
831 |
|
832 |
11 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
833 |
Finish overhaul of backend partitioning code. Fixed all bugs that stood in |
834 |
the way of partitioning from a blank disk. Add int() around access to minor |
835 |
key in partition information due to new partition code leaving them as float. |
836 |
|
837 |
10 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
838 |
tidy_partitions() function in GLIStorageDevice. Tweaks to tidy code |
839 |
|
840 |
9 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
841 |
Major GLIStorageDevice overhaul...all MB now instead of sectors. |
842 |
|
843 |
8 Apr 2005; Scott Myron <samyron@gentoo.org> |
844 |
Added support for DHCP options and MAC addresses in the InstallProfile. |
845 |
|
846 |
3 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
847 |
Changed mountopts check to work for blank and whitespace. Pipe emerge through |
848 |
sed to properly strip out junk. |
849 |
|
850 |
2 Apr 2005; Preston Cody <codeman@gentoo.org> |
851 |
fixed the way set_timezone works. added hotplug/coldplug for livecd-kernel |
852 |
added --emptytree to stage2. fixed ethx not being added to runlevel defalt. |
853 |
|
854 |
31 Mar 2005; Preston Cody <codeman@gentoo.org> |
855 |
Fixed indent problem in GLICController |
856 |
|
857 |
30 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
858 |
Check for disklabel type "loop" and use the device name without a minor. |
859 |
|
860 |
29 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
861 |
Remove /tmp/compile_output.log and /var/log/install.log when install is |
862 |
complete. Added code to (hopefully) keep 2nd thread running after install. |
863 |
Patch from zahna for extra arguments to the kernel. Patch from zahna to add |
864 |
get_eth_info() function. Remove most of content in amd64ArchTemplate and |
865 |
make it inherit from x86Archtemplate. kernel_args -> bootloader_kernel_args |
866 |
|
867 |
28 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
868 |
Added 'append_log=True' to all spawn() calls using logfile=. Append to log |
869 |
when unpacking tarball. |
870 |
|
871 |
28 Mar 2005; Preston Cody <codeman@gentoo.org> |
872 |
rewrote filesystem_tools. looks like it works so ripping out all the old |
873 |
filesystem_tools code. |
874 |
|
875 |
26 Mar 2005; Preston Cody <codeman@gentoo.org> |
876 |
Changed the print statements to logging in the partitioning BE code. |
877 |
the logger may need to be imported to the x86archtemplate. unknown yet. |
878 |
Added the finishing_cleanup function. |
879 |
added a fix to the logger from BenUrban |
880 |
|
881 |
25 Mar 2005; Preston Cody <codeman@gentoo.org> |
882 |
changed InstallProfile to remove is_uri check on kernel, stage, and portage |
883 |
URIs. The blank uri check has been commented out. |
884 |
ripped out error checking of set_services. this is done by _add_to_runlevel. |
885 |
|
886 |
25 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
887 |
set_stage_tarball_uri() doesn't raise an exception on a blank string. |
888 |
|
889 |
24 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
890 |
GRP-ish quickpkg code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in |
891 |
the install profile if available. Commented out spawn() debugging prints |
892 |
|
893 |
23 Mar 2005; Preston Cody <codeman@gentoo.org> |
894 |
small changes to setup_network_post. moved adding to runlevel of net.x to |
895 |
after the device gets symlinked. added domainname runlevel command. |
896 |
|
897 |
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
898 |
minor fix (hopefully) to livecd-kernel code. Removed call to mkvardb in |
899 |
livecd-kernel code as it's now done by catalyst. Switch _emerge() call to |
900 |
spawn() call in livecd-kernel code to pass environment variables. |
901 |
livecd-kernel code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in |
902 |
the install profile if available. |
903 |
|
904 |
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
905 |
Added code to build_kernel() and emerge_kernel_sources() in ArchTemplate |
906 |
to handle installing the livecd kernel into the new system. |
907 |
|
908 |
22 Mar 2005; Preston Cody <codeman@gentoo.org> |
909 |
should emerge hotplug and coldplug before adding them to runlevel. |
910 |
|
911 |
21 Mar 2005; Preston Cody <codeman@gentoo.org> |
912 |
took chroot out of grub_install command. |
913 |
|
914 |
21 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
915 |
Changed chroot wrapper code in spawn() to write the wrapper the python way |
916 |
instead of the bash way to avoid quote conflicts. Added |
917 |
'logfile=self._compile_logfile' to a number of spawn() calls. Added new |
918 |
hash_password() function to GLIUtility. Remove command to 'rm /tmp/spawn.sh' |
919 |
as it breaks the piping. |
920 |
|
921 |
20 Mar 2005; Preston Cody <codeman@gentoo.org> |
922 |
Added the amd64ArchitectureTemplate, mostly a copy of x86 without lilo. |
923 |
|
924 |
20 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
925 |
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in |
926 |
stage1() and stage2(). Added 'origminor' parameter to GLIStorageDevice and |
927 |
GLIInstallProfile. |
928 |
|
929 |
19 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
930 |
Fixed a couple bugs in add_netmount() in GLIInstallProfile. spawn() outputs |
931 |
to the actual tty8 with display_on_tty8 flag. Compile output logfile moved |
932 |
into /mnt/gentoo in prepare_chroot() |
933 |
|
934 |
18 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
935 |
Add sigunmask.c contributed by d_m (on freenode) to counteract python's |
936 |
retarted behavior regarding threads and signals. Add code to convert MB/%/* |
937 |
to start/end sectors |
938 |
|
939 |
17 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
940 |
Add 2>&1 to cmd in spawn() |
941 |
|
942 |
16 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
943 |
Modified GLIUtility.exitsuccess() to work with return value from |
944 |
commands.getstatusoutput instead of os.waitpid(). spawn() automatically |
945 |
creates wrapper script for commands run inside chroot so multiple commands |
946 |
and redirection can be used. Change exitsuccess() back. Added 'chmod a+x' |
947 |
for the generated script from spawn() |
948 |
|
949 |
16 Mar 2005; Preston Cody <codeman@gentoo.org> |
950 |
Removed default values for stage tarball URI and portage tree URI from |
951 |
InstallProfile. These should be set by the FEs. also added services step to |
952 |
ArchTemplate and coldplug/hotplug runlevels to the genkernel step. |
953 |
Possibly fixed CC DHCP bug with -n. (thx agaffney) |
954 |
|
955 |
14 Mar 2005; Preston Cody <codeman@gentoo.org> |
956 |
Small fix for setting the default gateway. Also added feature to dialogfe. |
957 |
|
958 |
7 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
959 |
Switched spawn() over to commands.getstatusoutput() instead of fork/waitpid |
960 |
|
961 |
1 Mar 2005; Preston Cody <codeman@gentoo.org> |
962 |
Fixed a bunch of true -> True typos. lots of em |
963 |
only write new resolv.conf if there are dns servers listed. |
964 |
|
965 |
1 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
966 |
Commented out 'display_on_tty8=True' in start_portmap() |
967 |
|
968 |
18 Feb 2005; Preston Cody <codeman@gentoo.org> |
969 |
added progress bar to dialogfe and fix logger bug in ArchTemplate. |
970 |
|
971 |
18 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
972 |
Created GLISayWhat module. Renamed GLISayWhat to GLILocalization. Moved |
973 |
lang parameter to __init__() |
974 |
|
975 |
10 Feb 2005; Preston Cody <codeman@gentoo.org> |
976 |
updates to TODO list. |
977 |
|
978 |
6 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
979 |
Initial code for quickpkg GRP support. Fix loop to grab packages from |
980 |
'emerge -p blah' |
981 |
|
982 |
6 Feb 2005; Preston Cody <codeman@gentoo.org> |
983 |
check for dhcp in the network stuff and emerge it if it is. |
984 |
added quickpkg to TODO list |
985 |
|
986 |
5 Feb 2005; Preston Cody <codeman@gentoo.org> |
987 |
Changed the raising of 'warning' exceptions to a simple log of the error |
988 |
so that the installer can continue. |
989 |
|
990 |
3 Feb 2005; Preston Cody <codeman@gentoo.org> |
991 |
Some big changes. First, changed most output to display_on_tty8. |
992 |
Second, added log lines to all templates. Some smaller fixes such as typos. |
993 |
Also did some cleanups of old commented lines. |
994 |
|
995 |
1 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
996 |
Changed tty8 output to a fifo. Minor GLIStorageDevice fix thanks to BenUrban. |
997 |
Undo change with fix. Escaping fix in GLIStorageDevice.py |
998 |
|
999 |
31 Jan 2005; Preston Cody <codeman@gentoo.org> |
1000 |
more updates to TODO list. hopefully we'll soon start removing items instead |
1001 |
of adding them. |
1002 |
|
1003 |
29 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1004 |
Changed the way GLIStorageDevice.get_max_sectors_for_resize() works |
1005 |
|
1006 |
27 Jan 2005; Preston Cody <codeman@gentoo.org> |
1007 |
updated TODO list. (again) |
1008 |
|
1009 |
25 Jan 2005; Preston Cody <codeman@gentoo.org> |
1010 |
changed output of portmap start to display_on_tty8. |
1011 |
fixed bootloader for udev and multiple kernels |
1012 |
fixed custom kernel config (again) |
1013 |
|
1014 |
22 Jan 2005; Preston Cody <codeman@gentoo.org> |
1015 |
changed default value of CC._enable_ssh to True because this is smart. |
1016 |
added code to allow custom kernel .config. may be unstable and break. sorry. |
1017 |
|
1018 |
21 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1019 |
partition() now waits until after it checks for partition flags before delete |
1020 |
the partitions :P |
1021 |
|
1022 |
19 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1023 |
Updated TODO. swapon failure it temporarily not an error. swapon is an error |
1024 |
again. is_uri() check only performed on portage_tree_snapshot_uri if it isn't |
1025 |
blank. |
1026 |
|
1027 |
19 Jan 2005; Preston Cody <codeman@gentoo.org> |
1028 |
Various fixes related to the add_users function. Still not yet finished. |
1029 |
Added things to the TODO list. Lets start using that! |
1030 |
|
1031 |
18 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1032 |
Added code to x86Template to format newly created partitions. Also added |
1033 |
some error checking code. GLIStorageDevice passes 'minor' with data to |
1034 |
InstallProfile. Added partition() call back in ArchTemplate. Fixed NFS |
1035 |
mounting code. |
1036 |
|
1037 |
18 Jan 2005; Preston Cody <codeman@gentoo.org> |
1038 |
Took out unnecessary setting of random livecd root password. the cd already |
1039 |
sets it randomly. |
1040 |
|
1041 |
15 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1042 |
Took out an unneeded step from CC's run() |
1043 |
|
1044 |
15 Jan 2005; Preston Cody <codeman@gentoo.org> |
1045 |
Attempt at detecting and adding windows partitions to lilo. |
1046 |
|
1047 |
14 Jan 2005; Preston Cody <codeman@gentoo.org> |
1048 |
Added lilo code and cleaned up lilo code. also do_partitioning renamed to |
1049 |
partition. fixed misc exit_status => exitstatus typo. |
1050 |
|
1051 |
11 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1052 |
Added basic code for resizing filesystems with pyparted. Fixed code for |
1053 |
resizing ntfs and ext2/3. |
1054 |
|
1055 |
10 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1056 |
Fixed partition() in x86Template so that it scans through logicals and deletes |
1057 |
before deleting containing extended partition. Also clears partition table to |
1058 |
be safe before third pass. |
1059 |
|
1060 |
08 Jan 2005; Preston Cody <codeman@gentoo.org> |
1061 |
Added mount_network_shares. not able to test it from this computer. |
1062 |
will test when i get back to school. |
1063 |
also added start_portmap to the client_controller as an always-do. |
1064 |
agaffney says this is needed for NFS mounts to work. |
1065 |
|
1066 |
08 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1067 |
Partial rewrite of partitioning code in x86Template. No longer shells out to |
1068 |
parted to perform actions, now uses all pyparted calls. Code "works" in a |
1069 |
test, but still needs lots of TLC. Also modified tests/install.py to work |
1070 |
with x86Template and GLIClientConfiguration. |
1071 |
|
1072 |
07 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1073 |
Initial move of partitioning code from ArchTemplate to x86Template. |
1074 |
|
1075 |
07 Jan 2005; Preston Cody <codeman@gentoo.org> |
1076 |
Added grp_install and services to InstallProfile. forgot about the set_root_password |
1077 |
|
1078 |
07 Jan 2005; Preston Cody <codeman@gentoo.org> |
1079 |
Fixed a few more edit_configs. fixed a chroot multicommand bug thanks to agaffney. |
1080 |
Test Install ran very well (skipping partitioning). |
1081 |
|
1082 |
05 Jan 2005; Preston Cody <codeman@gentoo.org> |
1083 |
My mid-day update. rewrote mount_local_partitions for order of mounting. fixed prepare_chroot |
1084 |
rewrote configure_fstab and install_bootloader for new partition format. fixed a few _edit_configs. |
1085 |
some may still have eluded me. |
1086 |
|
1087 |
05 Jan 2005; Preston Cody <codeman@gentoo.org> |
1088 |
Overhauled the entire ArchTemplate and did a lot of other misc fixes in order to test it. |
1089 |
Just finished mount_local_partitions in GLIArchitectureTemplate |
1090 |
|
1091 |
05 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1092 |
Added get_num_sectors() to GLIStorageDevice. |
1093 |
|
1094 |
04 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
1095 |
GLIStorageDevice now tracks partition boundaries in sectors instead of cylinders. |
1096 |
Also now ignores <=100 sectors for free space. Removed remaining depends stuff |
1097 |
from GLIInstallProfile. |
1098 |
|
1099 |
20 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
1100 |
GLIStorageDevice returns "unknown" instead of "" for get_type() |
1101 |
|
1102 |
19 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
1103 |
Added get_extended_partition() to GLIStorageDevice. Rewrote get_logicals() to |
1104 |
actually work. Commented out resizability checking code for speed. |
1105 |
|
1106 |
17 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
1107 |
Switched to using dumpe2fs to determine free space left in ext2/3 filesystem in |
1108 |
GLIStorageDevice at the suggestion of plors |
1109 |
|
1110 |
10 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
1111 |
Added a function to GLIUtility to pull a value from a make.conf-style config |
1112 |
file. Minor type fix to GLIInstallProfile.py |
1113 |
|
1114 |
09 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
1115 |
Added code in GLIArchitectureTemplate.py to write netmounts into fstab. Separated |
1116 |
network mounts from partition data structure in GLIInstallProfile |
1117 |
|
1118 |
27 Nov 2004; Andrew Gaffney <agaffney@gentoo.org> |
1119 |
Changed the way GLIStorageDevice.py determines the amount a ext2/3 filesystem |
1120 |
can be resized. |
1121 |
|
1122 |
27 Oct 2004; Preston Cody <codeman@gentoo.org> |
1123 |
Added some of the final functions to GLIInstallTemplate. |
1124 |
Yes this project is still active despite rare use of the Changelog! |
1125 |
|
1126 |
11 Jun 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
1127 |
Added the GLIPartitionTools.py file. This is a temporary insertion of |
1128 |
partitioning tools that will eventually go into their own package. |
1129 |
|
1130 |
27 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
1131 |
Added InstallProfileTODO.txt. Added GLIClientConfiguration.py (contains run-time |
1132 |
for the program). Added __init__(install_profile, client_configuration) to |
1133 |
GLI.InstallProfile. This sets install_profile and client_configuration once so as |
1134 |
to avoid constantly passing stuff every time we call a method. |
1135 |
|
1136 |
26 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
1137 |
|
1138 |
Added another private method to GLI.InstallTemplate. _edit_config() modifies config |
1139 |
files without messing up all the other stuff in them. This will be used for making |
1140 |
changes to make.conf, rc.conf, /etc/conf.d/net, etc... |
1141 |
|
1142 |
25 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
1143 |
|
1144 |
Added GLI.InstallTemplate framework. This is not yet functional. However, it does |
1145 |
have a few basic things. I added two private methods. One is _depends(). This |
1146 |
will be used for dependency checking (ie. unpacking a tarball requires that |
1147 |
partitioning has been done). The other is _exec_in_chroot(). This is the exact |
1148 |
same syntax as os.system(), however, instead of being run in the liveCD |
1149 |
environment, it runs in the chroot. This requires a bit of fork() magic, so I |
1150 |
isolated the code. Hope to work more this week to get this class formed... |
1151 |
|
1152 |
14 Feb 2004; Eric Sammer <esammer@gentoo.org> |
1153 |
|
1154 |
Added SAX parsing. Made GLI.InstallProfile a subclass of xml.sax.ContentHandler for |
1155 |
obvious reasons. Switched kernel_modules and users to be lists instead of tuples |
1156 |
to allow for easier modification (mutable, rather than immutable objects). Updated |
1157 |
existing pydoc and added more. Implemented body of GLI.InstallProfile.parse(). |
1158 |
Cleaned file format of GLI.py a bit. Fixed all accessors to use self references. |
1159 |
Added initial unit test code. |
1160 |
|
1161 |
9 Feb 2004; Eric Sammer <esammer@gentoo.org> |
1162 |
|
1163 |
Added initial changelog. Setting up the basic structure of the CVS repository |
1164 |
for the project. Added the UML class diagram in docs. Added a skeletal GLI |
1165 |
python module. Added misc files such news, authors, etc. |