# ChangeLog for Gentoo Linux Installer # Copyright 2004 Gentoo Technologies, Inc. # $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.81 2005/03/16 18:03:31 agaffney Exp $ *GLI-0.01 (9 Feb 2004) 16 Mar 2005; Andrew Gaffney Modified GLIUtility.exitsuccess() to work with return value from commands.getstatusoutput instead of os.waitpid() 16 Mar 2005; Preston Cody Removed default values for stage tarball URI and portage tree URI from InstallProfile. These should be set by the FEs. also added services step to ArchTemplate and coldplug/hotplug runlevels to the genkernel step. Possibly fixed CC DHCP bug with -n. (thx agaffney) 14 Mar 2005; Preston Cody Small fix for setting the default gateway. Also added feature to dialogfe. 7 Mar 2005; Andrew Gaffney Switched spawn() over to commands.getstatusoutput() instead of fork/waitpid 1 Mar 2005; Preston Cody Fixed a bunch of true -> True typos. lots of em only write new resolv.conf if there are dns servers listed. 1 Mar 2005; Andrew Gaffney Commented out 'display_on_tty8=True' in start_portmap() 18 Feb 2005; Preston Cody added progress bar to dialogfe and fix logger bug in ArchTemplate. 18 Feb 2005; Andrew Gaffney Created GLISayWhat module. Renamed GLISayWhat to GLILocalization. Moved lang parameter to __init__() 10 Feb 2005; Preston Cody updates to TODO list. 6 Feb 2005; Andrew Gaffney Initial code for quickpkg GRP support. Fix loop to grab packages from 'emerge -p blah' 6 Feb 2005; Preston Cody check for dhcp in the network stuff and emerge it if it is. added quickpkg to TODO list 5 Feb 2005; Preston Cody Changed the raising of 'warning' exceptions to a simple log of the error so that the installer can continue. 3 Feb 2005; Preston Cody Some big changes. First, changed most output to display_on_tty8. Second, added log lines to all templates. Some smaller fixes such as typos. Also did some cleanups of old commented lines. 1 Feb 2005; Andrew Gaffney Changed tty8 output to a fifo. Minor GLIStorageDevice fix thanks to BenUrban. Undo change with fix. Escaping fix in GLIStorageDevice.py 31 Jan 2005; Preston Cody more updates to TODO list. hopefully we'll soon start removing items instead of adding them. 29 Jan 2005; Andrew Gaffney Changed the way GLIStorageDevice.get_max_sectors_for_resize() works 27 Jan 2005; Preston Cody updated TODO list. (again) 25 Jan 2005; Preston Cody changed output of portmap start to display_on_tty8. fixed bootloader for udev and multiple kernels fixed custom kernel config (again) 22 Jan 2005; Preston Cody changed default value of CC._enable_ssh to True because this is smart. added code to allow custom kernel .config. may be unstable and break. sorry. 21 Jan 2005; Andrew Gaffney partition() now waits until after it checks for partition flags before delete the partitions :P 19 Jan 2005; Andrew Gaffney Updated TODO. swapon failure it temporarily not an error. swapon is an error again. is_uri() check only performed on portage_tree_snapshot_uri if it isn't blank. 19 Jan 2005; Preston Cody Various fixes related to the add_users function. Still not yet finished. Added things to the TODO list. Lets start using that! 18 Jan 2005; Andrew Gaffney Added code to x86Template to format newly created partitions. Also added some error checking code. GLIStorageDevice passes 'minor' with data to InstallProfile. Added partition() call back in ArchTemplate. Fixed NFS mounting code. 18 Jan 2005; Preston Cody Took out unnecessary setting of random livecd root password. the cd already sets it randomly. 15 Jan 2005; Andrew Gaffney Took out an unneeded step from CC's run() 15 Jan 2005; Preston Cody Attempt at detecting and adding windows partitions to lilo. 14 Jan 2005; Preston Cody Added lilo code and cleaned up lilo code. also do_partitioning renamed to partition. fixed misc exit_status => exitstatus typo. 11 Jan 2005; Andrew Gaffney Added basic code for resizing filesystems with pyparted. Fixed code for resizing ntfs and ext2/3. 10 Jan 2005; Andrew Gaffney Fixed partition() in x86Template so that it scans through logicals and deletes before deleting containing extended partition. Also clears partition table to be safe before third pass. 08 Jan 2005; Preston Cody Added mount_network_shares. not able to test it from this computer. will test when i get back to school. also added start_portmap to the client_controller as an always-do. agaffney says this is needed for NFS mounts to work. 08 Jan 2005; Andrew Gaffney Partial rewrite of partitioning code in x86Template. No longer shells out to parted to perform actions, now uses all pyparted calls. Code "works" in a test, but still needs lots of TLC. Also modified tests/install.py to work with x86Template and GLIClientConfiguration. 07 Jan 2005; Andrew Gaffney Initial move of partitioning code from ArchTemplate to x86Template. 07 Jan 2005; Preston Cody Added grp_install and services to InstallProfile. forgot about the set_root_password 07 Jan 2005; Preston Cody Fixed a few more edit_configs. fixed a chroot multicommand bug thanks to agaffney. Test Install ran very well (skipping partitioning). 05 Jan 2005; Preston Cody My mid-day update. rewrote mount_local_partitions for order of mounting. fixed prepare_chroot rewrote configure_fstab and install_bootloader for new partition format. fixed a few _edit_configs. some may still have eluded me. 05 Jan 2005; Preston Cody Overhauled the entire ArchTemplate and did a lot of other misc fixes in order to test it. Just finished mount_local_partitions in GLIArchitectureTemplate 05 Jan 2005; Andrew Gaffney Added get_num_sectors() to GLIStorageDevice. 04 Jan 2005; Andrew Gaffney GLIStorageDevice now tracks partition boundaries in sectors instead of cylinders. Also now ignores <=100 sectors for free space. Removed remaining depends stuff from GLIInstallProfile. 20 Dec 2004; Andrew Gaffney GLIStorageDevice returns "unknown" instead of "" for get_type() 19 Dec 2004; Andrew Gaffney Added get_extended_partition() to GLIStorageDevice. Rewrote get_logicals() to actually work. Commented out resizability checking code for speed. 17 Dec 2004; Andrew Gaffney Switched to using dumpe2fs to determine free space left in ext2/3 filesystem in GLIStorageDevice at the suggestion of plors 10 Dec 2004; Andrew Gaffney Added a function to GLIUtility to pull a value from a make.conf-style config file. Minor type fix to GLIInstallProfile.py 09 Dec 2004; Andrew Gaffney Added code in GLIArchitectureTemplate.py to write netmounts into fstab. Separated network mounts from partition data structure in GLIInstallProfile 27 Nov 2004; Andrew Gaffney Changed the way GLIStorageDevice.py determines the amount a ext2/3 filesystem can be resized. 27 Oct 2004; Preston Cody Added some of the final functions to GLIInstallTemplate. Yes this project is still active despite rare use of the Changelog! 11 Jun 2004; Nathaniel McCallum Added the GLIPartitionTools.py file. This is a temporary insertion of partitioning tools that will eventually go into their own package. 27 Mar 2004; Nathaniel McCallum Added InstallProfileTODO.txt. Added GLIClientConfiguration.py (contains run-time for the program). Added __init__(install_profile, client_configuration) to GLI.InstallProfile. This sets install_profile and client_configuration once so as to avoid constantly passing stuff every time we call a method. 26 Mar 2004; Nathaniel McCallum Added another private method to GLI.InstallTemplate. _edit_config() modifies config files without messing up all the other stuff in them. This will be used for making changes to make.conf, rc.conf, /etc/conf.d/net, etc... 25 Mar 2004; Nathaniel McCallum Added GLI.InstallTemplate framework. This is not yet functional. However, it does have a few basic things. I added two private methods. One is _depends(). This will be used for dependency checking (ie. unpacking a tarball requires that partitioning has been done). The other is _exec_in_chroot(). This is the exact same syntax as os.system(), however, instead of being run in the liveCD environment, it runs in the chroot. This requires a bit of fork() magic, so I isolated the code. Hope to work more this week to get this class formed... 14 Feb 2004; Eric Sammer Added SAX parsing. Made GLI.InstallProfile a subclass of xml.sax.ContentHandler for obvious reasons. Switched kernel_modules and users to be lists instead of tuples to allow for easier modification (mutable, rather than immutable objects). Updated existing pydoc and added more. Implemented body of GLI.InstallProfile.parse(). Cleaned file format of GLI.py a bit. Fixed all accessors to use self references. Added initial unit test code. 9 Feb 2004; Eric Sammer Added initial changelog. Setting up the basic structure of the CVS repository for the project. Added the UML class diagram in docs. Added a skeletal GLI python module. Added misc files such news, authors, etc.