/[gli]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 770 - (show annotations) (download)
Sat Jul 30 21:06:59 2005 UTC (8 years, 11 months ago) by agaffney
File size: 38041 byte(s)
added a bit of debugging code to _quickpkg_deps()

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

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.20