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