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