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