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