| 1 |
# ChangeLog for Gentoo Linux Installer
|
| 2 |
# Copyright 2004 Gentoo Technologies, Inc.
|
| 3 |
# $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.97 2005/03/22 07:52:58 agaffney Exp $
|
| 4 |
|
| 5 |
*GLI-0.01 (9 Feb 2004)
|
| 6 |
|
| 7 |
21 Mar 2005; Preston Cody <codeman@gentoo.org>
|
| 8 |
took chroot out of grub_install command. Added
|
| 9 |
'logfile=self._compile_logfile' to a number of spawn() calls. Added new
|
| 10 |
hash_password() function to GLIUtility. Remove command to 'rm /tmp/spawn.sh'
|
| 11 |
as it breaks the piping.
|
| 12 |
|
| 13 |
21 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 14 |
Changed chroot wrapper code in spawn() to write the wrapper the python way
|
| 15 |
instead of the bash way to avoid quote conflicts.
|
| 16 |
|
| 17 |
20 Mar 2005; Preston Cody <codeman@gentoo.org>
|
| 18 |
Added the amd64ArchitectureTemplate, mostly a copy of x86 without lilo.
|
| 19 |
|
| 20 |
20 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 21 |
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in
|
| 22 |
stage1() and stage2(). Added 'origminor' parameter to GLIStorageDevice and
|
| 23 |
GLIInstallProfile.
|
| 24 |
|
| 25 |
19 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 26 |
Fixed a couple bugs in add_netmount() in GLIInstallProfile. spawn() outputs
|
| 27 |
to the actual tty8 with display_on_tty8 flag. Compile output logfile moved
|
| 28 |
into /mnt/gentoo in prepare_chroot()
|
| 29 |
|
| 30 |
18 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 31 |
Add sigunmask.c contributed by d_m (on freenode) to counteract python's
|
| 32 |
retarted behavior regarding threads and signals. Add code to convert MB/%/*
|
| 33 |
to start/end sectors
|
| 34 |
|
| 35 |
17 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 36 |
Add 2>&1 to cmd in spawn()
|
| 37 |
|
| 38 |
16 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 39 |
Modified GLIUtility.exitsuccess() to work with return value from
|
| 40 |
commands.getstatusoutput instead of os.waitpid(). spawn() automatically
|
| 41 |
creates wrapper script for commands run inside chroot so multiple commands
|
| 42 |
and redirection can be used. Change exitsuccess() back. Added 'chmod a+x'
|
| 43 |
for the generated script from spawn()
|
| 44 |
|
| 45 |
16 Mar 2005; Preston Cody <codeman@gentoo.org>
|
| 46 |
Removed default values for stage tarball URI and portage tree URI from
|
| 47 |
InstallProfile. These should be set by the FEs. also added services step to
|
| 48 |
ArchTemplate and coldplug/hotplug runlevels to the genkernel step.
|
| 49 |
Possibly fixed CC DHCP bug with -n. (thx agaffney)
|
| 50 |
|
| 51 |
14 Mar 2005; Preston Cody <codeman@gentoo.org>
|
| 52 |
Small fix for setting the default gateway. Also added feature to dialogfe.
|
| 53 |
|
| 54 |
7 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 55 |
Switched spawn() over to commands.getstatusoutput() instead of fork/waitpid
|
| 56 |
|
| 57 |
1 Mar 2005; Preston Cody <codeman@gentoo.org>
|
| 58 |
Fixed a bunch of true -> True typos. lots of em
|
| 59 |
only write new resolv.conf if there are dns servers listed.
|
| 60 |
|
| 61 |
1 Mar 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 62 |
Commented out 'display_on_tty8=True' in start_portmap()
|
| 63 |
|
| 64 |
18 Feb 2005; Preston Cody <codeman@gentoo.org>
|
| 65 |
added progress bar to dialogfe and fix logger bug in ArchTemplate.
|
| 66 |
|
| 67 |
18 Feb 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 68 |
Created GLISayWhat module. Renamed GLISayWhat to GLILocalization. Moved
|
| 69 |
lang parameter to __init__()
|
| 70 |
|
| 71 |
10 Feb 2005; Preston Cody <codeman@gentoo.org>
|
| 72 |
updates to TODO list.
|
| 73 |
|
| 74 |
6 Feb 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 75 |
Initial code for quickpkg GRP support. Fix loop to grab packages from
|
| 76 |
'emerge -p blah'
|
| 77 |
|
| 78 |
6 Feb 2005; Preston Cody <codeman@gentoo.org>
|
| 79 |
check for dhcp in the network stuff and emerge it if it is.
|
| 80 |
added quickpkg to TODO list
|
| 81 |
|
| 82 |
5 Feb 2005; Preston Cody <codeman@gentoo.org>
|
| 83 |
Changed the raising of 'warning' exceptions to a simple log of the error
|
| 84 |
so that the installer can continue.
|
| 85 |
|
| 86 |
3 Feb 2005; Preston Cody <codeman@gentoo.org>
|
| 87 |
Some big changes. First, changed most output to display_on_tty8.
|
| 88 |
Second, added log lines to all templates. Some smaller fixes such as typos.
|
| 89 |
Also did some cleanups of old commented lines.
|
| 90 |
|
| 91 |
1 Feb 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 92 |
Changed tty8 output to a fifo. Minor GLIStorageDevice fix thanks to BenUrban.
|
| 93 |
Undo change with fix. Escaping fix in GLIStorageDevice.py
|
| 94 |
|
| 95 |
31 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 96 |
more updates to TODO list. hopefully we'll soon start removing items instead
|
| 97 |
of adding them.
|
| 98 |
|
| 99 |
29 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 100 |
Changed the way GLIStorageDevice.get_max_sectors_for_resize() works
|
| 101 |
|
| 102 |
27 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 103 |
updated TODO list. (again)
|
| 104 |
|
| 105 |
25 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 106 |
changed output of portmap start to display_on_tty8.
|
| 107 |
fixed bootloader for udev and multiple kernels
|
| 108 |
fixed custom kernel config (again)
|
| 109 |
|
| 110 |
22 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 111 |
changed default value of CC._enable_ssh to True because this is smart.
|
| 112 |
added code to allow custom kernel .config. may be unstable and break. sorry.
|
| 113 |
|
| 114 |
21 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 115 |
partition() now waits until after it checks for partition flags before delete
|
| 116 |
the partitions :P
|
| 117 |
|
| 118 |
19 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 119 |
Updated TODO. swapon failure it temporarily not an error. swapon is an error
|
| 120 |
again. is_uri() check only performed on portage_tree_snapshot_uri if it isn't
|
| 121 |
blank.
|
| 122 |
|
| 123 |
19 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 124 |
Various fixes related to the add_users function. Still not yet finished.
|
| 125 |
Added things to the TODO list. Lets start using that!
|
| 126 |
|
| 127 |
18 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 128 |
Added code to x86Template to format newly created partitions. Also added
|
| 129 |
some error checking code. GLIStorageDevice passes 'minor' with data to
|
| 130 |
InstallProfile. Added partition() call back in ArchTemplate. Fixed NFS
|
| 131 |
mounting code.
|
| 132 |
|
| 133 |
18 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 134 |
Took out unnecessary setting of random livecd root password. the cd already
|
| 135 |
sets it randomly.
|
| 136 |
|
| 137 |
15 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 138 |
Took out an unneeded step from CC's run()
|
| 139 |
|
| 140 |
15 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 141 |
Attempt at detecting and adding windows partitions to lilo.
|
| 142 |
|
| 143 |
14 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 144 |
Added lilo code and cleaned up lilo code. also do_partitioning renamed to
|
| 145 |
partition. fixed misc exit_status => exitstatus typo.
|
| 146 |
|
| 147 |
11 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 148 |
Added basic code for resizing filesystems with pyparted. Fixed code for
|
| 149 |
resizing ntfs and ext2/3.
|
| 150 |
|
| 151 |
10 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 152 |
Fixed partition() in x86Template so that it scans through logicals and deletes
|
| 153 |
before deleting containing extended partition. Also clears partition table to
|
| 154 |
be safe before third pass.
|
| 155 |
|
| 156 |
08 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 157 |
Added mount_network_shares. not able to test it from this computer.
|
| 158 |
will test when i get back to school.
|
| 159 |
also added start_portmap to the client_controller as an always-do.
|
| 160 |
agaffney says this is needed for NFS mounts to work.
|
| 161 |
|
| 162 |
08 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 163 |
Partial rewrite of partitioning code in x86Template. No longer shells out to
|
| 164 |
parted to perform actions, now uses all pyparted calls. Code "works" in a
|
| 165 |
test, but still needs lots of TLC. Also modified tests/install.py to work
|
| 166 |
with x86Template and GLIClientConfiguration.
|
| 167 |
|
| 168 |
07 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 169 |
Initial move of partitioning code from ArchTemplate to x86Template.
|
| 170 |
|
| 171 |
07 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 172 |
Added grp_install and services to InstallProfile. forgot about the set_root_password
|
| 173 |
|
| 174 |
07 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 175 |
Fixed a few more edit_configs. fixed a chroot multicommand bug thanks to agaffney.
|
| 176 |
Test Install ran very well (skipping partitioning).
|
| 177 |
|
| 178 |
05 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 179 |
My mid-day update. rewrote mount_local_partitions for order of mounting. fixed prepare_chroot
|
| 180 |
rewrote configure_fstab and install_bootloader for new partition format. fixed a few _edit_configs.
|
| 181 |
some may still have eluded me.
|
| 182 |
|
| 183 |
05 Jan 2005; Preston Cody <codeman@gentoo.org>
|
| 184 |
Overhauled the entire ArchTemplate and did a lot of other misc fixes in order to test it.
|
| 185 |
Just finished mount_local_partitions in GLIArchitectureTemplate
|
| 186 |
|
| 187 |
05 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 188 |
Added get_num_sectors() to GLIStorageDevice.
|
| 189 |
|
| 190 |
04 Jan 2005; Andrew Gaffney <agaffney@gentoo.org>
|
| 191 |
GLIStorageDevice now tracks partition boundaries in sectors instead of cylinders.
|
| 192 |
Also now ignores <=100 sectors for free space. Removed remaining depends stuff
|
| 193 |
from GLIInstallProfile.
|
| 194 |
|
| 195 |
20 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
|
| 196 |
GLIStorageDevice returns "unknown" instead of "" for get_type()
|
| 197 |
|
| 198 |
19 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
|
| 199 |
Added get_extended_partition() to GLIStorageDevice. Rewrote get_logicals() to
|
| 200 |
actually work. Commented out resizability checking code for speed.
|
| 201 |
|
| 202 |
17 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
|
| 203 |
Switched to using dumpe2fs to determine free space left in ext2/3 filesystem in
|
| 204 |
GLIStorageDevice at the suggestion of plors
|
| 205 |
|
| 206 |
10 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
|
| 207 |
Added a function to GLIUtility to pull a value from a make.conf-style config
|
| 208 |
file. Minor type fix to GLIInstallProfile.py
|
| 209 |
|
| 210 |
09 Dec 2004; Andrew Gaffney <agaffney@gentoo.org>
|
| 211 |
Added code in GLIArchitectureTemplate.py to write netmounts into fstab. Separated
|
| 212 |
network mounts from partition data structure in GLIInstallProfile
|
| 213 |
|
| 214 |
27 Nov 2004; Andrew Gaffney <agaffney@gentoo.org>
|
| 215 |
Changed the way GLIStorageDevice.py determines the amount a ext2/3 filesystem
|
| 216 |
can be resized.
|
| 217 |
|
| 218 |
27 Oct 2004; Preston Cody <codeman@gentoo.org>
|
| 219 |
Added some of the final functions to GLIInstallTemplate.
|
| 220 |
Yes this project is still active despite rare use of the Changelog!
|
| 221 |
|
| 222 |
11 Jun 2004; Nathaniel McCallum <npmccallum@gentoo.org>
|
| 223 |
Added the GLIPartitionTools.py file. This is a temporary insertion of
|
| 224 |
partitioning tools that will eventually go into their own package.
|
| 225 |
|
| 226 |
27 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org>
|
| 227 |
Added InstallProfileTODO.txt. Added GLIClientConfiguration.py (contains run-time
|
| 228 |
for the program). Added __init__(install_profile, client_configuration) to
|
| 229 |
GLI.InstallProfile. This sets install_profile and client_configuration once so as
|
| 230 |
to avoid constantly passing stuff every time we call a method.
|
| 231 |
|
| 232 |
26 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org>
|
| 233 |
|
| 234 |
Added another private method to GLI.InstallTemplate. _edit_config() modifies config
|
| 235 |
files without messing up all the other stuff in them. This will be used for making
|
| 236 |
changes to make.conf, rc.conf, /etc/conf.d/net, etc...
|
| 237 |
|
| 238 |
25 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org>
|
| 239 |
|
| 240 |
Added GLI.InstallTemplate framework. This is not yet functional. However, it does
|
| 241 |
have a few basic things. I added two private methods. One is _depends(). This
|
| 242 |
will be used for dependency checking (ie. unpacking a tarball requires that
|
| 243 |
partitioning has been done). The other is _exec_in_chroot(). This is the exact
|
| 244 |
same syntax as os.system(), however, instead of being run in the liveCD
|
| 245 |
environment, it runs in the chroot. This requires a bit of fork() magic, so I
|
| 246 |
isolated the code. Hope to work more this week to get this class formed...
|
| 247 |
|
| 248 |
14 Feb 2004; Eric Sammer <esammer@gentoo.org>
|
| 249 |
|
| 250 |
Added SAX parsing. Made GLI.InstallProfile a subclass of xml.sax.ContentHandler for
|
| 251 |
obvious reasons. Switched kernel_modules and users to be lists instead of tuples
|
| 252 |
to allow for easier modification (mutable, rather than immutable objects). Updated
|
| 253 |
existing pydoc and added more. Implemented body of GLI.InstallProfile.parse().
|
| 254 |
Cleaned file format of GLI.py a bit. Fixed all accessors to use self references.
|
| 255 |
Added initial unit test code.
|
| 256 |
|
| 257 |
9 Feb 2004; Eric Sammer <esammer@gentoo.org>
|
| 258 |
|
| 259 |
Added initial changelog. Setting up the basic structure of the CVS repository
|
| 260 |
for the project. Added the UML class diagram in docs. Added a skeletal GLI
|
| 261 |
python module. Added misc files such news, authors, etc.
|