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