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