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