/[gli]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 801 - (show annotations) (download)
Sun Aug 14 18:03:50 2005 UTC (9 years, 4 months ago) by codeman
File size: 40101 byte(s)
src/GLIArchitectureTemplate.py
  old patch from Steven Mertens to resolve bug #96642

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

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.20