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