1 |
esammer |
4 |
# ChangeLog for Gentoo Linux Installer |
2 |
codeman |
563 |
# Copyright 2005 Gentoo Technologies, Inc. |
3 |
robbat2 |
675 |
# $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.237 2005/06/14 05:21:03 robbat2 Exp $ |
4 |
esammer |
4 |
|
5 |
codeman |
522 |
*GLI-0.1_alpha (4 Apr 2005) |
6 |
agaffney |
337 |
|
7 |
robbat2 |
675 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
8 |
|
|
src/GLIArchitectureTemplate.py: |
9 |
|
|
Put some Linux-2.6 specific code under a if statement. Store list of |
10 |
|
|
successfully mounted swap device for using swapoff. Add proper error checking |
11 |
|
|
to install_packages and install_filesystem_tools. Fixed namespace conflicts on |
12 |
|
|
'file'. Clean up some redundant code (thanks to pychecker).' |
13 |
|
|
|
14 |
agaffney |
668 |
13 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
15 |
agaffney |
670 |
Fix typos: get_extended() instead of get_extended_partition(). Added |
16 |
agaffney |
671 |
list_mirrors() and list_stage_tarballs_from_mirror() functions to GLIUtility. |
17 |
|
|
Change _emerge("sync") call to direct call to spawn to avoid 'emerge -k sync' |
18 |
agaffney |
668 |
|
19 |
allanonjl |
667 |
12 Jun 2005; John N. Laliberte <allanonjl@gentoo.org> |
20 |
|
|
GLIInstallProfile.py: add missing set for dhcp_options if a tuple is passed |
21 |
|
|
in add_network_interface. |
22 |
|
|
|
23 |
robbat2 |
664 |
12 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIArchitectureTemplate.py: |
24 |
|
|
ensure PORTAGE_TMPDIR/PORT_LOGDIR/PORTDIR_OVERLAY/PKGDIR exist prior to any |
25 |
|
|
usage - this caused a failure for stage1/stage2 previously. swapoff for swap |
26 |
robbat2 |
665 |
space at end of install. Mount /dev, /dev/shm, /dev/pts and /sys during |
27 |
|
|
prepare_chroot. |
28 |
robbat2 |
664 |
|
29 |
robbat2 |
663 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> +src/cli/clife.py, |
30 |
|
|
+src/cli/README, +src/fe/installer-cli, +src/fe/installer-dialog, |
31 |
|
|
+src/fe/installer-gtk: |
32 |
|
|
Add new automated CLI frontend. Add scripts that are the intended means to |
33 |
|
|
use each frontend. |
34 |
|
|
|
35 |
robbat2 |
652 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
36 |
robbat2 |
663 |
src/GLIClientController.py: |
37 |
|
|
Add null type to network config, for cases where the interface is already up |
38 |
|
|
and should not be touched (netboot for example). |
39 |
|
|
|
40 |
|
|
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
41 |
robbat2 |
652 |
src/GLIArchitectureTemplate.py: |
42 |
robbat2 |
663 |
pcmcia is not a variable name for a call to _add_to_runlevel, it should be a |
43 |
|
|
string!. Try to use binary packages if available by default. |
44 |
|
|
|
45 |
|
|
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
46 |
|
|
src/GLIArchitectureTemplate.py: |
47 |
robbat2 |
656 |
More error checking for _add_to_runlevel, to ensure that the init script |
48 |
|
|
actually exists before we try to add it. set_services phase must take place |
49 |
|
|
after the package installation, otherwise the init scripts might not exist. |
50 |
|
|
Find the correct init script for the cron and logging daemons, and add that |
51 |
|
|
instead of the package atom. |
52 |
|
|
|
53 |
|
|
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
54 |
|
|
src/GLIArchitectureTemplate.py: |
55 |
robbat2 |
655 |
Fix up _edit_config so that it works if the file doesn't already exist. Fix |
56 |
|
|
usage of 'file' to 'contents' for the variable name, as it shadows |
57 |
|
|
__builtin__.file. |
58 |
|
|
|
59 |
|
|
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
60 |
|
|
src/GLIArchitectureTemplate.py: |
61 |
robbat2 |
652 |
Add MTA install code, and include MTA install phase. Ensure |
62 |
|
|
PORT_LOGDIR/PORTDIR_OVERLAY are created in _emerge if needed. Add support |
63 |
|
|
for 'none' kernel config for build_kernel phase. Put kernel_script in |
64 |
|
|
/var/tmp instead of /root for build_kernel phase. |
65 |
|
|
|
66 |
robbat2 |
650 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py: |
67 |
|
|
Rename mta variables to match syslog/cron variables. |
68 |
|
|
|
69 |
robbat2 |
648 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
70 |
robbat2 |
649 |
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py, |
71 |
|
|
src/.cvsignore, src/fe/dialog/.cvsignore, src/fe/gtk/.cvsignore, |
72 |
|
|
src/fe/net/client/.cvsignore, src/fe/net/server/.cvsignore, |
73 |
|
|
src/templates/.cvsignore, src/tests/.cvsignore: |
74 |
|
|
Refactor partition formatting again to include error checking. Allow 'none' |
75 |
|
|
for kernel and bootloader specifications. Add .cvsignore files for .py[co]. |
76 |
|
|
|
77 |
|
|
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
78 |
robbat2 |
648 |
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py: |
79 |
|
|
Refactor _emerge to remove duplicate code. Refactor mkfs code in backend to |
80 |
|
|
only have a single spawn call. |
81 |
|
|
|
82 |
codeman |
647 |
11 Jun 2005; Preston Cody <codeman@gentoo.org> |
83 |
|
|
refixed samyron's fix of set_architecture_template. |
84 |
|
|
|
85 |
agaffney |
646 |
11 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
86 |
|
|
Move /tmp/spawn.sh and /tmp/post-install to /var/tmp since that should always |
87 |
|
|
be executable. |
88 |
|
|
|
89 |
samyron |
643 |
10 Jun 2005; Scott Myron <samyron@gentoo.org> |
90 |
|
|
Fixed one of the FIXME's in the ClientConfiguration. There is now some |
91 |
|
|
error checking when you call set_architecture_template. |
92 |
|
|
|
93 |
codeman |
641 |
10 Jun 2005; Preston Cody <codeman@gentoo.org> |
94 |
|
|
moved the mkfsopts input to the partition options menu instead of the during |
95 |
|
|
the creation process. updated GenDialog to say it supports reiserfs v3. |
96 |
|
|
|
97 |
robbat2 |
636 |
9 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py, |
98 |
|
|
src/GLIStorageDevice.py, fe/dialog/dialogfe.py: |
99 |
|
|
Complete support for 'mkfsopts' parameter in main system and dialogfe. |
100 |
|
|
Add support for other partition types to dialogfe. |
101 |
|
|
Fix all usages of int(possible_big_number) to long(possible_bit_number) to |
102 |
|
|
avoid integer overflows and wraparounds. |
103 |
|
|
|
104 |
agaffney |
631 |
9 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
105 |
|
|
Removed start/end from XML output and added mkfsopts to partitioning info. |
106 |
agaffney |
633 |
'mkfsopts' parameter is now used and support for creating xfs, jfs, and |
107 |
agaffney |
634 |
reiserfs is now in (patch from robbat2). Change '_parser' to 'self._parser' |
108 |
agaffney |
639 |
in GLIClientConfiguration. Change from .1 and .9 to constants for |
109 |
|
|
partitioning. Fix free space overwriting bug. Remove a few unused functions |
110 |
agaffney |
640 |
from rewrite. Fix call to get_partition_at() |
111 |
agaffney |
631 |
|
112 |
codeman |
630 |
8 Jun 2005; Preston Cody <codeman@gentoo.org> |
113 |
|
|
Updates to GenDialog and dialogfe. |
114 |
|
|
|
115 |
agaffney |
627 |
7 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
116 |
agaffney |
628 |
Typo (%$^&#$!) fix in GLIStorageDevice. Minor fix recommended by pychecker |
117 |
agaffney |
627 |
|
118 |
codeman |
626 |
6 Jun 2005; Preston Cody <codeman@gentoo.org> |
119 |
|
|
more GenDialog updates to partitioning. |
120 |
|
|
|
121 |
codeman |
625 |
5 Jun 2005; Preston Cody <codeman@gentoo.org> |
122 |
|
|
Indenting issue in GLISD/get_ordered_partition_list. |
123 |
|
|
updates to GenDialog partitioning and added default UTC for timezone in IP. |
124 |
|
|
|
125 |
agaffney |
624 |
5 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
126 |
|
|
Added GLISD.get_model() |
127 |
|
|
|
128 |
codeman |
623 |
3 Jun 2005; Preston Cody <codeman@gentoo.org> |
129 |
|
|
Added get_eth_devices() to GLIUtility. Updated netfe.py to newest version. |
130 |
|
|
More updates to GenDialog :) |
131 |
|
|
|
132 |
agaffney |
622 |
3 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
133 |
|
|
Added get_interface_realname() function. |
134 |
|
|
|
135 |
codeman |
618 |
2 Jun 2005; Preston Cody <codeman@gentoo.org> |
136 |
|
|
Added auto-save of CConfig and copying to new /root after install. |
137 |
|
|
yet even more GenDialog updates. |
138 |
|
|
|
139 |
codeman |
616 |
1 Jun 2005; Preston Cody <codeman@gentoo.org> |
140 |
|
|
removed print statement from GLISD. more updates to GenDialog. |
141 |
|
|
|
142 |
agaffney |
608 |
31 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
143 |
agaffney |
610 |
Not being able to fetch the stage tarball is now an exception. Chroot wrapper |
144 |
agaffney |
611 |
passes along exit code. Fix typo in GLIStorageDevice causing mountopts to be |
145 |
agaffney |
615 |
loaded from XML as ['mountopts']. Changed 'data' to 'self.data' in a few |
146 |
|
|
places in GLIClientConfiguration. |
147 |
agaffney |
608 |
|
148 |
agaffney |
599 |
27 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
149 |
|
|
Fix mount_local_partitions(), configure_fstab(), and |
150 |
agaffney |
600 |
install_filesystem_tools() to use GLISD directly. A few more fixes for same. |
151 |
agaffney |
601 |
A few more fixes for templates/x86Archtemplate |
152 |
agaffney |
599 |
|
153 |
codeman |
597 |
27 May 2005; Preston Cody <codeman@gentoo.org> |
154 |
|
|
Removed more unused code from CConfig. Updated GLIGenDialog, but it is still |
155 |
|
|
a work in progress. |
156 |
|
|
|
157 |
agaffney |
596 |
24 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
158 |
|
|
Changes in IP, GLISD, and templates/x86Archtemplate for IP using GLISD |
159 |
|
|
directly. GLISD can now handle data imported from XML. |
160 |
|
|
|
161 |
agaffney |
595 |
22 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
162 |
|
|
Missing colon in GLIClientConfiguration. Add fix to GLIStorageDevice to |
163 |
|
|
handle blank (no disklabel) disks. |
164 |
|
|
|
165 |
codeman |
594 |
20 May 2005; Preston Cody <codeman@gentoo.org> |
166 |
|
|
HUGE Reorganization of the InstallProfile. All sections alphabetized, cleaned |
167 |
|
|
up, documented, and separated out serialization and grouped all sections. |
168 |
|
|
|
169 |
codeman |
593 |
19 May 2005; Preston Cody <codeman@gentoo.org> |
170 |
|
|
Reorganization of ClientConfiguration and gutting of unused functions. |
171 |
|
|
Removed verbose option from CC. Moved import statement in IP and CConfig up. |
172 |
|
|
|
173 |
codeman |
591 |
18 May 2005; Preston Cody <codeman@gentoo.org> |
174 |
|
|
Fix use of /mnt/gentoo instead of _chroot_dir in finishing_cleanup |
175 |
|
|
|
176 |
agaffney |
588 |
17 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
177 |
agaffney |
589 |
Fixed bug in finishing_cleanup(). Fix a late-night coding error in |
178 |
agaffney |
590 |
partitioning. CC serializes install profile to disk and prepare_chroot() |
179 |
|
|
copies it into /mnt/gentoo/root |
180 |
agaffney |
588 |
|
181 |
agaffney |
585 |
16 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
182 |
|
|
Moved URI parsing into new function parse_uri() |
183 |
|
|
|
184 |
agaffney |
583 |
14 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
185 |
|
|
Added XMLParser module. |
186 |
|
|
|
187 |
agaffney |
580 |
13 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
188 |
|
|
Fix is_realstring() and rewrite is_uri() to use a regex to parse the URI. |
189 |
agaffney |
581 |
Minor fix to is_uri() regex to allow hyphens in hostname. |
190 |
agaffney |
580 |
|
191 |
codeman |
577 |
12 May 2005; Preston Cody <codeman@gentoo.org> |
192 |
|
|
Updated finishing_cleanup for new unmounting method from agaffney. |
193 |
|
|
|
194 |
agaffney |
575 |
12 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
195 |
agaffney |
576 |
Fix GLILogger to use correct time format string. Fix _edit_config() to |
196 |
agaffney |
579 |
properly comment out variables. Fix minor bug in finishing_cleanup(). Add |
197 |
|
|
unicode support to is_realstring(). |
198 |
agaffney |
575 |
|
199 |
agaffney |
571 |
11 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
200 |
agaffney |
572 |
Added --nocolor to all emerge calls. Fix is_eth_device to test for zero |
201 |
agaffney |
573 |
return value instead of non-zero. Add code to output a traceback to the |
202 |
agaffney |
574 |
install log in the event of a GLI or non-GLI exception. Use NOCOLOR=yes |
203 |
|
|
instead of --nocolor. |
204 |
agaffney |
571 |
|
205 |
codeman |
566 |
10 May 2005; Preston Cody <codeman@gentoo.org> |
206 |
|
|
Added GLIGenDialog.py to make a generic class for the dialog functions that |
207 |
codeman |
567 |
can be used by both dialogfe and the netfe/be. updated both for new filename. |
208 |
|
|
date changes. 2004->2005. |
209 |
codeman |
566 |
|
210 |
agaffney |
564 |
10 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
211 |
|
|
Removed 'quiet=True' from spawn() calls |
212 |
|
|
|
213 |
codeman |
563 |
10 May 2005; Preston Cody <codeman@gentoo.org> |
214 |
|
|
Updated GLIUtility with patches from chotchki. Also added documentation |
215 |
|
|
|
216 |
codeman |
560 |
9 May 2005; Preston Cody <codeman@gentoo.org> |
217 |
|
|
Added the function for set_etc_portage to ArchTemplate. no step for it yet. |
218 |
|
|
Updated _edit_config in ArchTemplate, make_config, and various other fixes |
219 |
|
|
from bug #89683, mostly touchups. |
220 |
|
|
|
221 |
agaffney |
556 |
6 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
222 |
|
|
GLIStorageDevice cleanup patch from bug #91761 |
223 |
|
|
|
224 |
agaffney |
551 |
3 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
225 |
|
|
Fixed timezone code to not link to /mnt/gentoo/usr/share/zoneinfo/blah. Fix |
226 |
agaffney |
553 |
_edit_config(). Error logging casts 'error' to str |
227 |
agaffney |
551 |
|
228 |
agaffney |
548 |
2 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
229 |
agaffney |
549 |
Exceptions received in CC are logged before being passed to the FE. Added |
230 |
|
|
code to CC to handle exceptions *not* thrown by the installer itself. |
231 |
agaffney |
548 |
|
232 |
agaffney |
544 |
1 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
233 |
|
|
get_max_mb_for_resize() returns -1 if not self.resizeable |
234 |
|
|
|
235 |
|
|
30 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
236 |
agaffney |
539 |
More dirty rsync hacks :-/ |
237 |
|
|
|
238 |
codeman |
532 |
29 Apr 2005; Preston Cody <codeman@gentoo.org> |
239 |
|
|
Patches from chotchki (bug #90325) to improve CC networking. untested. |
240 |
|
|
|
241 |
agaffney |
528 |
29 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
242 |
agaffney |
529 |
Proxies patch from chotchki (bug #90147). Fixed == instead of = typos in |
243 |
agaffney |
533 |
GLIStorageDevice (pointed out by chotchki). Fixed missing int()s. Split |
244 |
agaffney |
535 |
'custom' sync option into 'none' and 'snapshot'. Minor fixes to |
245 |
agaffney |
536 |
GLIStorageDevice as suggested by pychecker. Fix minor bug in |
246 |
agaffney |
538 |
_get_packages_to_emerge(). Fix _quickpkg_deps() to call |
247 |
|
|
_get_packages_to_emerge() |
248 |
agaffney |
528 |
|
249 |
codeman |
526 |
28 Apr 2005; Preston Cody <codeman@gentoo.org> |
250 |
|
|
Added group-adding code to set_users in ArchTemplate |
251 |
|
|
|
252 |
agaffney |
525 |
27 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
253 |
|
|
Added post-install script code |
254 |
|
|
|
255 |
agaffney |
524 |
23 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
256 |
|
|
Fixed encapsulation issues in GLIClientController (bug #90141) |
257 |
|
|
|
258 |
agaffney |
523 |
22 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
259 |
|
|
Update resizing code in GLIStorageDevice |
260 |
|
|
|
261 |
codeman |
522 |
17 Apr 2005; Preston Cody <codeman@gentoo.org> |
262 |
|
|
Update AUTHORS, NEWS, TODO. Added documentation to GLILogger. |
263 |
|
|
|
264 |
agaffney |
521 |
17 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
265 |
|
|
Reverted change to ArchTemplate and added support for commented line in old |
266 |
|
|
code. |
267 |
|
|
|
268 |
agaffney |
518 |
16 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
269 |
|
|
Changed _edit_config() to modify value in-place instead of commenting out and |
270 |
|
|
adding the new value to the end of the file. |
271 |
|
|
|
272 |
codeman |
512 |
15 Apr 2005; Preston Cody <codeman@gentoo.org> |
273 |
|
|
Back. Did the docuementation thang for ArchTemplate and ClientConfiguration. |
274 |
|
|
Also updated TODO list. |
275 |
|
|
|
276 |
agaffney |
509 |
14 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
277 |
|
|
Use blackace's one-liner to add comments for all function for use with |
278 |
|
|
pythondoc. |
279 |
|
|
|
280 |
agaffney |
503 |
13 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
281 |
|
|
Moved 'end >= device_sectors' check out of loop to check for next partition's |
282 |
agaffney |
505 |
start point (thanks to Marco Djukic). Fix >4 primary partitions on non-x86. |
283 |
agaffney |
507 |
Partitioning code now tracks start/end of extended for placing logicals. End |
284 |
|
|
point of logical is now adjusted along with start. |
285 |
agaffney |
503 |
|
286 |
agaffney |
497 |
11 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
287 |
agaffney |
501 |
Finish overhaul of backend partitioning code. Fixed all bugs that stood in |
288 |
agaffney |
502 |
the way of partitioning from a blank disk. Add int() around access to minor |
289 |
|
|
key in partition information due to new partition code leaving them as float. |
290 |
agaffney |
497 |
|
291 |
agaffney |
494 |
10 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
292 |
agaffney |
495 |
tidy_partitions() function in GLIStorageDevice. Tweaks to tidy code |
293 |
agaffney |
494 |
|
294 |
agaffney |
492 |
9 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
295 |
|
|
Major GLIStorageDevice overhaul...all MB now instead of sectors. |
296 |
|
|
|
297 |
|
|
8 Apr 2005; Scott Myron <samyron@gentoo.org> |
298 |
samyron |
491 |
Added support for DHCP options and MAC addresses in the InstallProfile. |
299 |
|
|
|
300 |
agaffney |
481 |
3 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
301 |
agaffney |
484 |
Changed mountopts check to work for blank and whitespace. Pipe emerge through |
302 |
|
|
sed to properly strip out junk. |
303 |
agaffney |
481 |
|
304 |
codeman |
475 |
2 Apr 2005; Preston Cody <codeman@gentoo.org> |
305 |
codeman |
476 |
fixed the way set_timezone works. added hotplug/coldplug for livecd-kernel |
306 |
codeman |
479 |
added --emptytree to stage2. fixed ethx not being added to runlevel defalt. |
307 |
codeman |
475 |
|
308 |
codeman |
467 |
31 Mar 2005; Preston Cody <codeman@gentoo.org> |
309 |
|
|
Fixed indent problem in GLICController |
310 |
|
|
|
311 |
agaffney |
463 |
30 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
312 |
|
|
Check for disklabel type "loop" and use the device name without a minor. |
313 |
|
|
|
314 |
agaffney |
453 |
29 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
315 |
|
|
Remove /tmp/compile_output.log and /var/log/install.log when install is |
316 |
agaffney |
456 |
complete. Added code to (hopefully) keep 2nd thread running after install. |
317 |
agaffney |
458 |
Patch from zahna for extra arguments to the kernel. Patch from zahna to add |
318 |
agaffney |
460 |
get_eth_info() function. Remove most of content in amd64ArchTemplate and |
319 |
agaffney |
461 |
make it inherit from x86Archtemplate. kernel_args -> bootloader_kernel_args |
320 |
agaffney |
453 |
|
321 |
agaffney |
451 |
28 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
322 |
agaffney |
452 |
Added 'append_log=True' to all spawn() calls using logfile=. Append to log |
323 |
|
|
when unpacking tarball. |
324 |
agaffney |
451 |
|
325 |
codeman |
443 |
28 Mar 2005; Preston Cody <codeman@gentoo.org> |
326 |
codeman |
446 |
rewrote filesystem_tools. looks like it works so ripping out all the old |
327 |
|
|
filesystem_tools code. |
328 |
codeman |
443 |
|
329 |
codeman |
427 |
26 Mar 2005; Preston Cody <codeman@gentoo.org> |
330 |
|
|
Changed the print statements to logging in the partitioning BE code. |
331 |
|
|
the logger may need to be imported to the x86archtemplate. unknown yet. |
332 |
codeman |
432 |
Added the finishing_cleanup function. |
333 |
codeman |
433 |
added a fix to the logger from BenUrban |
334 |
codeman |
427 |
|
335 |
codeman |
422 |
25 Mar 2005; Preston Cody <codeman@gentoo.org> |
336 |
|
|
changed InstallProfile to remove is_uri check on kernel, stage, and portage |
337 |
|
|
URIs. The blank uri check has been commented out. |
338 |
codeman |
426 |
ripped out error checking of set_services. this is done by _add_to_runlevel. |
339 |
codeman |
422 |
|
340 |
agaffney |
419 |
25 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
341 |
|
|
set_stage_tarball_uri() doesn't raise an exception on a blank string. |
342 |
|
|
|
343 |
agaffney |
415 |
24 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
344 |
|
|
GRP-ish quickpkg code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in |
345 |
agaffney |
416 |
the install profile if available. Commented out spawn() debugging prints |
346 |
agaffney |
415 |
|
347 |
codeman |
409 |
23 Mar 2005; Preston Cody <codeman@gentoo.org> |
348 |
|
|
small changes to setup_network_post. moved adding to runlevel of net.x to |
349 |
|
|
after the device gets symlinked. added domainname runlevel command. |
350 |
|
|
|
351 |
agaffney |
401 |
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
352 |
agaffney |
408 |
minor fix (hopefully) to livecd-kernel code. Removed call to mkvardb in |
353 |
agaffney |
412 |
livecd-kernel code as it's now done by catalyst. Switch _emerge() call to |
354 |
|
|
spawn() call in livecd-kernel code to pass environment variables. |
355 |
agaffney |
414 |
livecd-kernel code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in |
356 |
|
|
the install profile if available. |
357 |
agaffney |
402 |
|
358 |
|
|
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
359 |
agaffney |
401 |
Added code to build_kernel() and emerge_kernel_sources() in ArchTemplate |
360 |
|
|
to handle installing the livecd kernel into the new system. |
361 |
|
|
|
362 |
codeman |
395 |
22 Mar 2005; Preston Cody <codeman@gentoo.org> |
363 |
|
|
should emerge hotplug and coldplug before adding them to runlevel. |
364 |
|
|
|
365 |
codeman |
390 |
21 Mar 2005; Preston Cody <codeman@gentoo.org> |
366 |
codeman |
395 |
took chroot out of grub_install command. |
367 |
|
|
|
368 |
|
|
21 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
369 |
|
|
Changed chroot wrapper code in spawn() to write the wrapper the python way |
370 |
|
|
instead of the bash way to avoid quote conflicts. Added |
371 |
agaffney |
392 |
'logfile=self._compile_logfile' to a number of spawn() calls. Added new |
372 |
agaffney |
394 |
hash_password() function to GLIUtility. Remove command to 'rm /tmp/spawn.sh' |
373 |
|
|
as it breaks the piping. |
374 |
codeman |
390 |
|
375 |
codeman |
387 |
20 Mar 2005; Preston Cody <codeman@gentoo.org> |
376 |
|
|
Added the amd64ArchitectureTemplate, mostly a copy of x86 without lilo. |
377 |
|
|
|
378 |
agaffney |
385 |
20 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
379 |
|
|
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in |
380 |
agaffney |
386 |
stage1() and stage2(). Added 'origminor' parameter to GLIStorageDevice and |
381 |
agaffney |
389 |
GLIInstallProfile. |
382 |
agaffney |
385 |
|
383 |
agaffney |
379 |
19 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
384 |
agaffney |
384 |
Fixed a couple bugs in add_netmount() in GLIInstallProfile. spawn() outputs |
385 |
|
|
to the actual tty8 with display_on_tty8 flag. Compile output logfile moved |
386 |
|
|
into /mnt/gentoo in prepare_chroot() |
387 |
agaffney |
379 |
|
388 |
agaffney |
375 |
18 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
389 |
|
|
Add sigunmask.c contributed by d_m (on freenode) to counteract python's |
390 |
agaffney |
377 |
retarted behavior regarding threads and signals. Add code to convert MB/%/* |
391 |
|
|
to start/end sectors |
392 |
agaffney |
375 |
|
393 |
|
|
17 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
394 |
agaffney |
374 |
Add 2>&1 to cmd in spawn() |
395 |
|
|
|
396 |
agaffney |
369 |
16 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
397 |
|
|
Modified GLIUtility.exitsuccess() to work with return value from |
398 |
agaffney |
371 |
commands.getstatusoutput instead of os.waitpid(). spawn() automatically |
399 |
|
|
creates wrapper script for commands run inside chroot so multiple commands |
400 |
agaffney |
373 |
and redirection can be used. Change exitsuccess() back. Added 'chmod a+x' |
401 |
|
|
for the generated script from spawn() |
402 |
agaffney |
369 |
|
403 |
codeman |
361 |
16 Mar 2005; Preston Cody <codeman@gentoo.org> |
404 |
|
|
Removed default values for stage tarball URI and portage tree URI from |
405 |
|
|
InstallProfile. These should be set by the FEs. also added services step to |
406 |
|
|
ArchTemplate and coldplug/hotplug runlevels to the genkernel step. |
407 |
|
|
Possibly fixed CC DHCP bug with -n. (thx agaffney) |
408 |
|
|
|
409 |
codeman |
359 |
14 Mar 2005; Preston Cody <codeman@gentoo.org> |
410 |
|
|
Small fix for setting the default gateway. Also added feature to dialogfe. |
411 |
|
|
|
412 |
agaffney |
357 |
7 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
413 |
|
|
Switched spawn() over to commands.getstatusoutput() instead of fork/waitpid |
414 |
|
|
|
415 |
codeman |
345 |
1 Mar 2005; Preston Cody <codeman@gentoo.org> |
416 |
codeman |
346 |
Fixed a bunch of true -> True typos. lots of em |
417 |
codeman |
347 |
only write new resolv.conf if there are dns servers listed. |
418 |
codeman |
345 |
|
419 |
agaffney |
343 |
1 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
420 |
|
|
Commented out 'display_on_tty8=True' in start_portmap() |
421 |
|
|
|
422 |
codeman |
341 |
18 Feb 2005; Preston Cody <codeman@gentoo.org> |
423 |
|
|
added progress bar to dialogfe and fix logger bug in ArchTemplate. |
424 |
|
|
|
425 |
agaffney |
337 |
18 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
426 |
agaffney |
339 |
Created GLISayWhat module. Renamed GLISayWhat to GLILocalization. Moved |
427 |
|
|
lang parameter to __init__() |
428 |
codeman |
331 |
|
429 |
|
|
10 Feb 2005; Preston Cody <codeman@gentoo.org> |
430 |
|
|
updates to TODO list. |
431 |
esammer |
4 |
|
432 |
agaffney |
322 |
6 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
433 |
agaffney |
324 |
Initial code for quickpkg GRP support. Fix loop to grab packages from |
434 |
|
|
'emerge -p blah' |
435 |
agaffney |
322 |
|
436 |
codeman |
319 |
6 Feb 2005; Preston Cody <codeman@gentoo.org> |
437 |
codeman |
320 |
check for dhcp in the network stuff and emerge it if it is. |
438 |
|
|
added quickpkg to TODO list |
439 |
codeman |
319 |
|
440 |
codeman |
318 |
5 Feb 2005; Preston Cody <codeman@gentoo.org> |
441 |
|
|
Changed the raising of 'warning' exceptions to a simple log of the error |
442 |
|
|
so that the installer can continue. |
443 |
|
|
|
444 |
codeman |
314 |
3 Feb 2005; Preston Cody <codeman@gentoo.org> |
445 |
|
|
Some big changes. First, changed most output to display_on_tty8. |
446 |
|
|
Second, added log lines to all templates. Some smaller fixes such as typos. |
447 |
|
|
Also did some cleanups of old commented lines. |
448 |
|
|
|
449 |
agaffney |
310 |
1 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
450 |
agaffney |
312 |
Changed tty8 output to a fifo. Minor GLIStorageDevice fix thanks to BenUrban. |
451 |
agaffney |
313 |
Undo change with fix. Escaping fix in GLIStorageDevice.py |
452 |
agaffney |
310 |
|
453 |
codeman |
306 |
31 Jan 2005; Preston Cody <codeman@gentoo.org> |
454 |
|
|
more updates to TODO list. hopefully we'll soon start removing items instead |
455 |
|
|
of adding them. |
456 |
|
|
|
457 |
agaffney |
301 |
29 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
458 |
|
|
Changed the way GLIStorageDevice.get_max_sectors_for_resize() works |
459 |
|
|
|
460 |
codeman |
293 |
27 Jan 2005; Preston Cody <codeman@gentoo.org> |
461 |
codeman |
295 |
updated TODO list. (again) |
462 |
codeman |
293 |
|
463 |
codeman |
286 |
25 Jan 2005; Preston Cody <codeman@gentoo.org> |
464 |
|
|
changed output of portmap start to display_on_tty8. |
465 |
|
|
fixed bootloader for udev and multiple kernels |
466 |
codeman |
288 |
fixed custom kernel config (again) |
467 |
codeman |
286 |
|
468 |
codeman |
281 |
22 Jan 2005; Preston Cody <codeman@gentoo.org> |
469 |
|
|
changed default value of CC._enable_ssh to True because this is smart. |
470 |
codeman |
282 |
added code to allow custom kernel .config. may be unstable and break. sorry. |
471 |
codeman |
281 |
|
472 |
agaffney |
278 |
21 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
473 |
|
|
partition() now waits until after it checks for partition flags before delete |
474 |
|
|
the partitions :P |
475 |
|
|
|
476 |
agaffney |
271 |
19 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
477 |
agaffney |
272 |
Updated TODO. swapon failure it temporarily not an error. swapon is an error |
478 |
agaffney |
277 |
again. is_uri() check only performed on portage_tree_snapshot_uri if it isn't |
479 |
|
|
blank. |
480 |
agaffney |
271 |
|
481 |
codeman |
268 |
19 Jan 2005; Preston Cody <codeman@gentoo.org> |
482 |
|
|
Various fixes related to the add_users function. Still not yet finished. |
483 |
codeman |
269 |
Added things to the TODO list. Lets start using that! |
484 |
codeman |
268 |
|
485 |
agaffney |
264 |
18 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
486 |
|
|
Added code to x86Template to format newly created partitions. Also added |
487 |
agaffney |
265 |
some error checking code. GLIStorageDevice passes 'minor' with data to |
488 |
agaffney |
266 |
InstallProfile. Added partition() call back in ArchTemplate. Fixed NFS |
489 |
|
|
mounting code. |
490 |
agaffney |
264 |
|
491 |
codeman |
263 |
18 Jan 2005; Preston Cody <codeman@gentoo.org> |
492 |
|
|
Took out unnecessary setting of random livecd root password. the cd already |
493 |
|
|
sets it randomly. |
494 |
|
|
|
495 |
agaffney |
255 |
15 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
496 |
|
|
Took out an unneeded step from CC's run() |
497 |
|
|
|
498 |
codeman |
248 |
15 Jan 2005; Preston Cody <codeman@gentoo.org> |
499 |
|
|
Attempt at detecting and adding windows partitions to lilo. |
500 |
|
|
|
501 |
codeman |
235 |
14 Jan 2005; Preston Cody <codeman@gentoo.org> |
502 |
codeman |
237 |
Added lilo code and cleaned up lilo code. also do_partitioning renamed to |
503 |
|
|
partition. fixed misc exit_status => exitstatus typo. |
504 |
codeman |
235 |
|
505 |
agaffney |
230 |
11 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
506 |
agaffney |
232 |
Added basic code for resizing filesystems with pyparted. Fixed code for |
507 |
|
|
resizing ntfs and ext2/3. |
508 |
agaffney |
230 |
|
509 |
agaffney |
228 |
10 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
510 |
|
|
Fixed partition() in x86Template so that it scans through logicals and deletes |
511 |
agaffney |
229 |
before deleting containing extended partition. Also clears partition table to |
512 |
|
|
be safe before third pass. |
513 |
agaffney |
228 |
|
514 |
codeman |
226 |
08 Jan 2005; Preston Cody <codeman@gentoo.org> |
515 |
|
|
Added mount_network_shares. not able to test it from this computer. |
516 |
|
|
will test when i get back to school. |
517 |
|
|
also added start_portmap to the client_controller as an always-do. |
518 |
|
|
agaffney says this is needed for NFS mounts to work. |
519 |
|
|
|
520 |
agaffney |
225 |
08 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
521 |
|
|
Partial rewrite of partitioning code in x86Template. No longer shells out to |
522 |
|
|
parted to perform actions, now uses all pyparted calls. Code "works" in a |
523 |
|
|
test, but still needs lots of TLC. Also modified tests/install.py to work |
524 |
|
|
with x86Template and GLIClientConfiguration. |
525 |
|
|
|
526 |
agaffney |
221 |
07 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
527 |
|
|
Initial move of partitioning code from ArchTemplate to x86Template. |
528 |
agaffney |
220 |
|
529 |
codeman |
219 |
07 Jan 2005; Preston Cody <codeman@gentoo.org> |
530 |
agaffney |
224 |
Added grp_install and services to InstallProfile. forgot about the set_root_password |
531 |
codeman |
222 |
|
532 |
|
|
07 Jan 2005; Preston Cody <codeman@gentoo.org> |
533 |
codeman |
219 |
Fixed a few more edit_configs. fixed a chroot multicommand bug thanks to agaffney. |
534 |
|
|
Test Install ran very well (skipping partitioning). |
535 |
|
|
|
536 |
codeman |
213 |
05 Jan 2005; Preston Cody <codeman@gentoo.org> |
537 |
codeman |
215 |
My mid-day update. rewrote mount_local_partitions for order of mounting. fixed prepare_chroot |
538 |
codeman |
216 |
rewrote configure_fstab and install_bootloader for new partition format. fixed a few _edit_configs. |
539 |
|
|
some may still have eluded me. |
540 |
codeman |
215 |
|
541 |
|
|
05 Jan 2005; Preston Cody <codeman@gentoo.org> |
542 |
codeman |
213 |
Overhauled the entire ArchTemplate and did a lot of other misc fixes in order to test it. |
543 |
|
|
Just finished mount_local_partitions in GLIArchitectureTemplate |
544 |
|
|
|
545 |
agaffney |
212 |
05 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
546 |
|
|
Added get_num_sectors() to GLIStorageDevice. |
547 |
|
|
|
548 |
|
|
04 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
549 |
agaffney |
205 |
GLIStorageDevice now tracks partition boundaries in sectors instead of cylinders. |
550 |
agaffney |
208 |
Also now ignores <=100 sectors for free space. Removed remaining depends stuff |
551 |
|
|
from GLIInstallProfile. |
552 |
agaffney |
205 |
|
553 |
agaffney |
188 |
20 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
554 |
|
|
GLIStorageDevice returns "unknown" instead of "" for get_type() |
555 |
|
|
|
556 |
agaffney |
183 |
19 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
557 |
agaffney |
184 |
Added get_extended_partition() to GLIStorageDevice. Rewrote get_logicals() to |
558 |
|
|
actually work. Commented out resizability checking code for speed. |
559 |
agaffney |
183 |
|
560 |
agaffney |
174 |
17 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
561 |
|
|
Switched to using dumpe2fs to determine free space left in ext2/3 filesystem in |
562 |
|
|
GLIStorageDevice at the suggestion of plors |
563 |
|
|
|
564 |
agaffney |
162 |
10 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
565 |
|
|
Added a function to GLIUtility to pull a value from a make.conf-style config |
566 |
agaffney |
163 |
file. Minor type fix to GLIInstallProfile.py |
567 |
agaffney |
162 |
|
568 |
agaffney |
160 |
09 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
569 |
agaffney |
163 |
Added code in GLIArchitectureTemplate.py to write netmounts into fstab. Separated |
570 |
|
|
network mounts from partition data structure in GLIInstallProfile |
571 |
agaffney |
161 |
|
572 |
agaffney |
147 |
27 Nov 2004; Andrew Gaffney <agaffney@gentoo.org> |
573 |
|
|
Changed the way GLIStorageDevice.py determines the amount a ext2/3 filesystem |
574 |
|
|
can be resized. |
575 |
|
|
|
576 |
codeman |
91 |
27 Oct 2004; Preston Cody <codeman@gentoo.org> |
577 |
|
|
Added some of the final functions to GLIInstallTemplate. |
578 |
|
|
Yes this project is still active despite rare use of the Changelog! |
579 |
|
|
|
580 |
npmccallum |
58 |
11 Jun 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
581 |
|
|
Added the GLIPartitionTools.py file. This is a temporary insertion of |
582 |
|
|
partitioning tools that will eventually go into their own package. |
583 |
|
|
|
584 |
npmccallum |
33 |
27 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
585 |
|
|
Added InstallProfileTODO.txt. Added GLIClientConfiguration.py (contains run-time |
586 |
|
|
for the program). Added __init__(install_profile, client_configuration) to |
587 |
|
|
GLI.InstallProfile. This sets install_profile and client_configuration once so as |
588 |
|
|
to avoid constantly passing stuff every time we call a method. |
589 |
|
|
|
590 |
npmccallum |
28 |
26 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
591 |
|
|
|
592 |
|
|
Added another private method to GLI.InstallTemplate. _edit_config() modifies config |
593 |
|
|
files without messing up all the other stuff in them. This will be used for making |
594 |
|
|
changes to make.conf, rc.conf, /etc/conf.d/net, etc... |
595 |
|
|
|
596 |
npmccallum |
27 |
25 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
597 |
|
|
|
598 |
|
|
Added GLI.InstallTemplate framework. This is not yet functional. However, it does |
599 |
|
|
have a few basic things. I added two private methods. One is _depends(). This |
600 |
|
|
will be used for dependency checking (ie. unpacking a tarball requires that |
601 |
|
|
partitioning has been done). The other is _exec_in_chroot(). This is the exact |
602 |
|
|
same syntax as os.system(), however, instead of being run in the liveCD |
603 |
|
|
environment, it runs in the chroot. This requires a bit of fork() magic, so I |
604 |
|
|
isolated the code. Hope to work more this week to get this class formed... |
605 |
|
|
|
606 |
esammer |
7 |
14 Feb 2004; Eric Sammer <esammer@gentoo.org> |
607 |
|
|
|
608 |
|
|
Added SAX parsing. Made GLI.InstallProfile a subclass of xml.sax.ContentHandler for |
609 |
|
|
obvious reasons. Switched kernel_modules and users to be lists instead of tuples |
610 |
|
|
to allow for easier modification (mutable, rather than immutable objects). Updated |
611 |
|
|
existing pydoc and added more. Implemented body of GLI.InstallProfile.parse(). |
612 |
|
|
Cleaned file format of GLI.py a bit. Fixed all accessors to use self references. |
613 |
|
|
Added initial unit test code. |
614 |
|
|
|
615 |
esammer |
4 |
9 Feb 2004; Eric Sammer <esammer@gentoo.org> |
616 |
|
|
|
617 |
|
|
Added initial changelog. Setting up the basic structure of the CVS repository |
618 |
|
|
for the project. Added the UML class diagram in docs. Added a skeletal GLI |
619 |
|
|
python module. Added misc files such news, authors, etc. |