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