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