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