/[gli]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 792 - (show annotations) (download)
Tue Aug 9 20:15:48 2005 UTC (9 years, 3 months ago) by agaffney
File size: 39365 byte(s)
  src/GLIGenDialog.py:
  convert install_packages to list in set_extra_packages()

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

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.20