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