| 1 |
# ChangeLog for Gentoo Linux Installer |
| 2 |
# Copyright 2005-2005 Gentoo Technologies, Inc. |
| 3 |
|
| 4 |
# $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.557 2006/01/02 18:23:34 agaffney Exp $ |
| 5 |
|
| 6 |
*GLI-0.3 (27 Oct 2005) |
| 7 |
|
| 8 |
2 Jan 2006; Andrew Gaffney <agaffney@gentoo.org> |
| 9 |
src/GLIPortage.py: |
| 10 |
get_deps() calls 'emerge -p' and then removed packages that aren't in vdb |
| 11 |
added emerge() |
| 12 |
src/GLIArchitectureTemplate.py: |
| 13 |
install_packages() now calls emerge() in GLIPortage |
| 14 |
|
| 15 |
31 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 16 |
src/GLIArchitectureTemplate.py: |
| 17 |
remove add_pkg_to_world() and copy_pkg_to_chroot() |
| 18 |
copy installer.log to installer.log.failed on install failure |
| 19 |
src/GLIUtility.py: |
| 20 |
added get_keymaps() |
| 21 |
spawn() takes any False argument for chroot instead of just None |
| 22 |
src/GLIPortage.py: |
| 23 |
copy_pkg_to_chroot() chroot's to run ebuild is use_root=False |
| 24 |
change copy_pkg_to_chroot() to work properly with use_root=False |
| 25 |
figure PORTAGE_TMPDIR properly |
| 26 |
|
| 27 |
27 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 28 |
src/net/server/html/*: |
| 29 |
converted showclients, load/saveprofile |
| 30 |
|
| 31 |
26 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 32 |
src/GLIPortage.py: |
| 33 |
exclude packages already in chroot vdb from binary deplist |
| 34 |
chroot to use best_version for chroot's vdb |
| 35 |
src/runtimedeps.py: |
| 36 |
accept ROOT via commandline instead of env |
| 37 |
|
| 38 |
25 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 39 |
src/runtimedeps.py: |
| 40 |
remove passing of ROOT |
| 41 |
src/GLIPortage.py: |
| 42 |
modify get_deps() to get deptree for each package and merge into final list |
| 43 |
remove depgraph class |
| 44 |
add debugging code to get_deps() |
| 45 |
src/GLIArchitectureTemplate.py: |
| 46 |
combine code for GRP/compile in install_packages() into one block |
| 47 |
debugging code in install_packages() |
| 48 |
|
| 49 |
24 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 50 |
src/runtimedeps.py: |
| 51 |
initial commit |
| 52 |
src/GLIPortage.py: |
| 53 |
use separate script for GRP deps |
| 54 |
remove calls to portage module |
| 55 |
|
| 56 |
23 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 57 |
src/GLIPortage.py: |
| 58 |
initial commit |
| 59 |
move some of portage function from GLIAT |
| 60 |
flipped around a few function args |
| 61 |
src/GLIArchitectureTemplate.py: |
| 62 |
revamp install_packages() for new GLIPortage |
| 63 |
|
| 64 |
21 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 65 |
src/GLIArchitectureTemplate.py: |
| 66 |
extract /usr/livecd/metadata.tar.bz2 to chroot if it exists |
| 67 |
|
| 68 |
20 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 69 |
src/net/server/gliserv.py: |
| 70 |
wrap generated code in a class to isolate it a bit better |
| 71 |
302 redirects work |
| 72 |
don't use cgi.escape() for <% %> |
| 73 |
src/net/server/html/webgli/*: |
| 74 |
load/save profile |
| 75 |
src/GLIUtility.py: |
| 76 |
change /sbin/lspci to just lspci |
| 77 |
|
| 78 |
18 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 79 |
src/GLIClientController.py: |
| 80 |
change ordering of statements in CC run() while loop to not go past the end |
| 81 |
of the array |
| 82 |
src/GLIArchitectureTemplate.py: |
| 83 |
removed redundant bind mounts |
| 84 |
|
| 85 |
18 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 86 |
REMOVED dialogfe.py since it is totally obsolete. use gli-dialog.py |
| 87 |
added a diagram by blackace from last night. |
| 88 |
added the glossary in RTF format. |
| 89 |
|
| 90 |
17 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 91 |
x86AT: separated out emerge/configure from running of bootloader |
| 92 |
added MBR drive support to lilo. |
| 93 |
these changes will likely not work. |
| 94 |
AT: added setup_and_run_bootloader step. |
| 95 |
|
| 96 |
12 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 97 |
src/net/server/gliserv.py: |
| 98 |
call generated code in a function |
| 99 |
src/net/server/html/webgli/*: |
| 100 |
include top/bottom |
| 101 |
src/GLIArchitectureTemplate.py, src/GLIClientController.py, |
| 102 |
src/GLIClientCongifuration.py: |
| 103 |
install mode magic |
| 104 |
|
| 105 |
11 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 106 |
src/GLIClientController.py: |
| 107 |
use GLIException when there's an import problem |
| 108 |
added debug code to show install_steps |
| 109 |
src/templates/amd64ArchitectureTemplate.py: |
| 110 |
add . to import path |
| 111 |
proper path this time: ../../templates |
| 112 |
src/GLIArchitectureTemplate.py: |
| 113 |
add _portage_best_version() function |
| 114 |
|
| 115 |
11 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 116 |
added initial glossary and gimli diagram to the docs directory. |
| 117 |
modify gli-dialog to allow editing of the install_profile after loading XML. |
| 118 |
|
| 119 |
8 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 120 |
src/net/server/html/webgli/: |
| 121 |
converted globaluse, localuse, networkmounts, portagetree, and stageselection |
| 122 |
moved saveclientconfig stuff into clientconfig |
| 123 |
moved saveconfigfiles into config files |
| 124 |
converted etc_portage and makedotconf |
| 125 |
converted bootloader and kernel |
| 126 |
convert daemons, extrapackages, networking, review, services, timezone, users |
| 127 |
src/net/server/gliserv.py: |
| 128 |
proper 404 handling for .pyhtml extension |
| 129 |
HTML escape <% %> stuff |
| 130 |
work around python's sucky regexes |
| 131 |
src/GLIInstallProfile.py: |
| 132 |
allow set_{rsync,ftp,http}_proxy() to accept empty values |
| 133 |
|
| 134 |
7 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 135 |
src/net/server/gliserv.py: |
| 136 |
initial commit of Legolas templating engine |
| 137 |
302 redirects |
| 138 |
src/net/server/html/index.html, src/net/server/webgli_template.html: |
| 139 |
minor changes for new code |
| 140 |
src/net/server/html/*.pyhtml, src/net/server/html/webgli/*.pyhtml: |
| 141 |
initial commit of the conversion from the monolithic WebGLIHandler.py to the |
| 142 |
one file per path Legolas goodness |
| 143 |
partitioning[2-4] done |
| 144 |
|
| 145 |
5 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 146 |
webgli: dhcp options in CC and post-install. |
| 147 |
updated comparison chart. |
| 148 |
webgli: etc/portage/* and distcc support added. not too-well tested. |
| 149 |
|
| 150 |
4 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 151 |
webgli_template.html: valign=top on left side. |
| 152 |
webgli: fix bootloader boot_device. now working. |
| 153 |
webgli: CC proxy done. post-install proxy in progress. |
| 154 |
|
| 155 |
3 Dec 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 156 |
src/net/server/webgli_template.html: |
| 157 |
increase padding for content cell to 7px and add colspan=2 |
| 158 |
|
| 159 |
3 Dec 2005; Nicholas D. Wolfood <blackace@gentoo.org> |
| 160 |
webgli: added graphic bar on top |
| 161 |
webgli: added hover effects on the links on the left |
| 162 |
webgli: re-rendered header_bg.png to stretch without artifacts |
| 163 |
|
| 164 |
3 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 165 |
webgli: make.conf disabling fixes for dynamic_stage3 |
| 166 |
fixed portage snapshot browse popup |
| 167 |
all changes tested. |
| 168 |
webgli: add debug mode to CC screen. the screen still needs lots of work. |
| 169 |
|
| 170 |
1 Dec 2005; Preston Cody <codeman@gentoo.org> |
| 171 |
added debug mode question to gli-dialog |
| 172 |
added CC proxies to CC networking for gli-dialog |
| 173 |
webgli: fixed skip CC networking if connection active |
| 174 |
webgli: portage snapshot defaults to CD |
| 175 |
webgli: bootloader mbr drive selection |
| 176 |
webgli: USE flags unselectable if dynamic_stage3 |
| 177 |
webgli: manual extra packages and save button. |
| 178 |
|
| 179 |
28 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 180 |
src/GLIUtility.py: |
| 181 |
change ping count to 2 |
| 182 |
docs/comparison.html |
| 183 |
initial commit |
| 184 |
|
| 185 |
27 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 186 |
src/templates/x86ArchitectureTemplate.py: |
| 187 |
fix map() issue with grub code |
| 188 |
replace kernel_names and initrd_names loops with one-liners |
| 189 |
|
| 190 |
27 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 191 |
gli-dialog won't let you dynamic stage3 without systempkgs.txt. |
| 192 |
initial gli-dialog support for recommended partitioning layout and clear. |
| 193 |
failure cleanup now an option for gli-dialog. |
| 194 |
move livecd-kernel to top of kernel lists. fix proto bug in rc.conf |
| 195 |
added comparison list and updated TODO! |
| 196 |
|
| 197 |
26 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 198 |
src/GLIArchitectureTemplate.py: |
| 199 |
fix to stage1() debug code |
| 200 |
fix to stage2() debug code |
| 201 |
|
| 202 |
26 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 203 |
some more bootloader code fixes. forgot boot_device != mbr_device. |
| 204 |
|
| 205 |
25 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 206 |
src/GLIStorageDevice.py: |
| 207 |
fix to unallocated space merging when last one is after part 4 |
| 208 |
|
| 209 |
24 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 210 |
src/GLIArchitectureTemplate.py: |
| 211 |
small fix to debugging code in copy_pkg_to_chroot() |
| 212 |
|
| 213 |
23 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 214 |
more bugfixes with bootloader code |
| 215 |
gli-dialog side appears to work |
| 216 |
|
| 217 |
21 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 218 |
initial adding of boot_device to backend. |
| 219 |
initial boot_device support added to gli-dialog. |
| 220 |
some fixes of my poor coding |
| 221 |
|
| 222 |
20 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 223 |
converted gli-dialog to use the install_package_list. |
| 224 |
gtkfe has already been converted by AllanonJL |
| 225 |
new way working in gli-dialog now and added to webgli. |
| 226 |
added set/get_boot_device() to IP |
| 227 |
|
| 228 |
19 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 229 |
get_install_package_list added to InstallProfile. This can be used by the FEs |
| 230 |
|
| 231 |
17 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 232 |
src/templates/x86ArchitectureTemplate.py: |
| 233 |
call ls with '-1 --color=no' |
| 234 |
|
| 235 |
16 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 236 |
added warning (#9) to GRP ppl about stage3 tarballs |
| 237 |
|
| 238 |
15 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 239 |
src/GLIArchitectureTemplate.py: |
| 240 |
change fat32/fat16 to vfat in mount_local_partitions() so mount doesn't get |
| 241 |
confused |
| 242 |
|
| 243 |
13 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 244 |
removed protocols from rc.conf screens |
| 245 |
finished initial rc.conf and make.conf in webgli |
| 246 |
|
| 247 |
13 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 248 |
src/net/server/gliserv.py: |
| 249 |
add -h option to usage() |
| 250 |
show time and request URI in debug mode |
| 251 |
show client IP in debug mode |
| 252 |
just use IP instead of trying to do a reverse lookup |
| 253 |
|
| 254 |
12 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 255 |
src/net/server/gliserv.py: |
| 256 |
'classier' 401 message |
| 257 |
proper commandline parsing |
| 258 |
help via -h |
| 259 |
user/pass can be specificed via commandline option |
| 260 |
|
| 261 |
11 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 262 |
src/net/server/gliserv.py: |
| 263 |
basic HTTP auth |
| 264 |
|
| 265 |
10 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 266 |
src/net/server/gliserv.py: |
| 267 |
dynamic module reloading (yipee!) |
| 268 |
send 'Last-Modified' header for real files |
| 269 |
respond to HEAD with just headers |
| 270 |
src/net/server/handlers/WebGLIHandler.py: |
| 271 |
icons for drives |
| 272 |
|
| 273 |
7 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 274 |
src/net/server/handlers/WebGLIHandler.py: |
| 275 |
initial 'pretty' partition table display support |
| 276 |
clicking partition in 'pretty' display works instead of radio buttons |
| 277 |
radio buttons and pretty display work together |
| 278 |
META redirect instead of javascript |
| 279 |
pretty display stretches across entire screen |
| 280 |
'Recommended layout' and 'Clear drive' functions |
| 281 |
properly catch exceptions from do_recommended() |
| 282 |
src/GLIArchitectureTemplate.py: |
| 283 |
replace preinst, copy, postinst, rm steps with qmerge |
| 284 |
whoops...that shouldn't have been commented out |
| 285 |
create image_dir with -p in copy_pkg_to_chroot() |
| 286 |
more generic of symlink crappiness |
| 287 |
new copy_pkg_to_chroot() actually works now |
| 288 |
|
| 289 |
6 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 290 |
src/GLIStorageDevice.py: |
| 291 |
initial generic disk support |
| 292 |
fixes for add_partition() code |
| 293 |
src/net/server/handlers/WebGLIHandler.py: |
| 294 |
added support for creating generic disks |
| 295 |
add new partition working |
| 296 |
save and delete partitions |
| 297 |
|
| 298 |
6 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 299 |
webgli: Partitioning making progress. |
| 300 |
|
| 301 |
5 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 302 |
src/GLIArchitectureTemplate.py: |
| 303 |
copy_pkg_to_chroot() overhaul - does install the Right Way(TM) (copy files to |
| 304 |
image dir, run pkg_setup, pkg_preinst, copy to /, pkg_postinst, remove image |
| 305 |
dir) and works around /etc/gconf symlink problem |
| 306 |
|
| 307 |
5 Nov 2005; Preston Cody <codeman@gentoo.org> |
| 308 |
webgli: lots of updates. preliminary partitioning. extra packages works. |
| 309 |
|
| 310 |
3 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 311 |
src/net/server/gliserv.py: |
| 312 |
httpd now supports HTTPS and falls back to HTTP if not available |
| 313 |
make fallback actually work |
| 314 |
src/net/server/SecureXMLRPCServer.py: |
| 315 |
SecureSocketServer is now threaded |
| 316 |
|
| 317 |
2 Nov 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 318 |
src/net/client/gliclient.py: |
| 319 |
try to use HTTPS for XMLRPC first and fallback to HTTP |
| 320 |
pretend mode |
| 321 |
src/net/server/gliserv.py, src/net/server/SecureXMLRPCServer.py: |
| 322 |
HTTPS XMLRPC goodness from samyron |
| 323 |
pass name of certificate |
| 324 |
|
| 325 |
31 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 326 |
wegli: daemons and services screens done. |
| 327 |
|
| 328 |
30 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 329 |
webgli: networking and users screens |
| 330 |
added return_redirect to handler.py |
| 331 |
loading and saving install/client profiles works for webgli now |
| 332 |
Review also done |
| 333 |
|
| 334 |
*GLI-0.2 (27 Oct 2005) |
| 335 |
|
| 336 |
26 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 337 |
src/templates/x86ArchitectureTemplate.py: |
| 338 |
properly check for bootloader emerge exist status with exitsuccess() |
| 339 |
log output of grub install command |
| 340 |
add --batch --no-floppy to grub command |
| 341 |
grubinstallstring only gets logged if debug is on |
| 342 |
src/GLIUtility.py: |
| 343 |
update progress bar to 100% when process finishes |
| 344 |
|
| 345 |
25 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 346 |
src/GLIClientController.py: |
| 347 |
added debugging code for the interaction between the 2 threads via Event() |
| 348 |
src/GLIUtility.py: |
| 349 |
doubled the buffer size in spawn() |
| 350 |
bump buffer size up to 16384 |
| 351 |
only report progress in 5% increments |
| 352 |
src/GLIArchitectureTemplate.py: |
| 353 |
kernelpkgs.txt support code |
| 354 |
above disabled because it sucks |
| 355 |
added add_pkg_to_world() |
| 356 |
|
| 357 |
24 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 358 |
src/GLIArchitectureTemplate.py: |
| 359 |
use tar | tar to copy files in copy_pkg_to_chroot() |
| 360 |
extract devices.tar.bz2 created by baselayout instead of running MAKEDEV |
| 361 |
|
| 362 |
23 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 363 |
DEBUGGING ADDED TO AT. verbose field added to CConfig. |
| 364 |
|
| 365 |
23 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 366 |
src/net/server/gliserv.py: |
| 367 |
/ maps to index.html |
| 368 |
look for actual files in html/ |
| 369 |
src/net/html: |
| 370 |
new template |
| 371 |
src/GLIUtility.py: |
| 372 |
added parse_vdb_contents() |
| 373 |
src/GLIArchitectureTemplate.py: |
| 374 |
added copy_pkg_to_chroot() |
| 375 |
added debug code to dynamic-stage3 |
| 376 |
switch dynamic-stage3 to new method |
| 377 |
lots of bug fixes from adding debug code |
| 378 |
|
| 379 |
22 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 380 |
webgli initial bootloader support + changed make.conf. |
| 381 |
IP: changed defaults for stage, kernel_build_method, kernel_source_pkg. |
| 382 |
|
| 383 |
20 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 384 |
src/GLIUtility.py: |
| 385 |
horrible tangled mess of code that is tarball unpacking subprogress display |
| 386 |
add unpack progress to portage snapshot |
| 387 |
use read() instead of readlines() in spawn() |
| 388 |
only update progress bar for whole percents |
| 389 |
|
| 390 |
19 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 391 |
src/templates/x86ArchitectureTemplate.py: |
| 392 |
change call to 'grub' to use GLIUtility.exitsuccess() |
| 393 |
add definition of 'build_mode' in _configure_lilo() |
| 394 |
src/misc/updategtkfe, src/misc/updateglid: |
| 395 |
fix so subshell is called in root shell |
| 396 |
|
| 397 |
18 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 398 |
src/net/server/handlers/WebGLIHandler.py: |
| 399 |
stage screen launches URI browser in sized window with various properties set |
| 400 |
|
| 401 |
17 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 402 |
src/misc/updategtkfe: |
| 403 |
updated to actually work |
| 404 |
remove previous snapshot and extracted dir before downloading |
| 405 |
src/misc/updateglid: |
| 406 |
updated to actually work |
| 407 |
src/templates/x86ArchitectureTemplate.py: |
| 408 |
fixed bug where grub code was looking for 'root+root+file_name2' |
| 409 |
|
| 410 |
16 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 411 |
src/net/server/handlers/WebGLIHandler.py: |
| 412 |
URI browser |
| 413 |
added mirror selection |
| 414 |
src/GLIUtility.py: |
| 415 |
ls via ssh strips off ending * |
| 416 |
|
| 417 |
16 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 418 |
more updates to webgli. stage selection. |
| 419 |
|
| 420 |
11 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 421 |
updated webgli with preliminary Network Mounts support. |
| 422 |
|
| 423 |
9 Oct 2005; Preston Cody <codeman@gentoo.org> |
| 424 |
GenDialog: string formatting and yes/no label fixes. |
| 425 |
added WebGLI template for gliserv.py |
| 426 |
added WebGLIHandler as well as a definition for it in gliserv.py |
| 427 |
updates to the webgli files even though they won't be there for long. |
| 428 |
Utility: remove exception for non-existant grppkgs.txt until the new livecd |
| 429 |
goes public. |
| 430 |
|
| 431 |
9 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 432 |
src/net/server/gliserv.py: |
| 433 |
override dict to not be so anal |
| 434 |
main server now loads separate module to handle requests |
| 435 |
src/net/server/handlers/ProfileHandler.py, src/net/server/handler.py: |
| 436 |
split out profile URLs into separate handler function |
| 437 |
move handlers into subdirectory |
| 438 |
add Welcome and Clients handlers |
| 439 |
|
| 440 |
5 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 441 |
src/GLIUtility.py: |
| 442 |
raise exception if password prompt received twice |
| 443 |
|
| 444 |
2 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 445 |
src/GLIUtility.py: |
| 446 |
removed rot13ify() |
| 447 |
|
| 448 |
1 Oct 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 449 |
src/net/server/gliserv.py: |
| 450 |
allow for param to be passed multiple times in GET |
| 451 |
no XMLRPC functions return None |
| 452 |
modify POST request parsing to only create a list if needed |
| 453 |
fix GET request parsing so the list creation for multiple values works |
| 454 |
src/net/client/gliclient.py: |
| 455 |
various typo and type mismatch fixes |
| 456 |
exit after exception |
| 457 |
|
| 458 |
30 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 459 |
src/net/client/gliclient.py: |
| 460 |
initial commit |
| 461 |
pass MAC to XMLRPC functions |
| 462 |
src/net/server/GLIServerProfile.py: |
| 463 |
rename GLIClientsProfiles to GLIServerProfile |
| 464 |
|
| 465 |
29 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 466 |
src/net/server/gliserv.py: |
| 467 |
now handles POST requests |
| 468 |
move majority of request handling code to common_handler() to reduce code |
| 469 |
duplication |
| 470 |
profile loading |
| 471 |
client reg via XMLRPC goes into SharedInfo() |
| 472 |
/showclients redesign |
| 473 |
template fixes |
| 474 |
allow handler functions to add/change headers |
| 475 |
save profile |
| 476 |
|
| 477 |
28 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 478 |
src/net/server/GLIClientsProfiles.py: |
| 479 |
initial commit |
| 480 |
src/net/server/template.html: |
| 481 |
initial commit |
| 482 |
src/net/server/gliserv.py: |
| 483 |
add template mojo |
| 484 |
|
| 485 |
26 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 486 |
src/net/server/gliserv.py: |
| 487 |
XMLRPC mojo |
| 488 |
|
| 489 |
22 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 490 |
src/GLIArchitectureTemplate.py: |
| 491 |
add code in _edit_config() to comment line where variable is defined |
| 492 |
previously |
| 493 |
insert new line under previous definition of variable if it exists |
| 494 |
small _edit_config() cleanup |
| 495 |
src/GLIStorageDevice.py: |
| 496 |
add clear_partitions() function |
| 497 |
new sizes for recommended partition layout |
| 498 |
automatically calculate swap size for recommended layout |
| 499 |
|
| 500 |
21 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 501 |
src/templates/x86ArchitectureTemplate.py: |
| 502 |
fat16 mojo |
| 503 |
|
| 504 |
20 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 505 |
src/GLIStorageDevice.py: |
| 506 |
prevent do_recommended() from being run twice |
| 507 |
rewrite do_recommended() to be more robust |
| 508 |
src/GLIArchitectureTemplate.py: |
| 509 |
rework _edit_config() to not write duplicate entries |
| 510 |
|
| 511 |
17 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 512 |
src/GLIStorageDevice.py: |
| 513 |
added do_recommended() function to automatically created 256M/1G/* layout |
| 514 |
|
| 515 |
17 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 516 |
src/gli-dialog.py: added set_distcc to the list |
| 517 |
GenDialog: added set_distcc. untested. |
| 518 |
IP: added install_distcc flag. |
| 519 |
AT: added install_distcc function based on the flag. runs after build_kernel |
| 520 |
changed AT spawn command for distcc for nodeps. |
| 521 |
|
| 522 |
16 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 523 |
src/GLIUtility.py: |
| 524 |
add rot13ify() function |
| 525 |
|
| 526 |
16 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 527 |
src/GenDialog.py |
| 528 |
added a sentence of text. unchecking support added. |
| 529 |
|
| 530 |
15 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 531 |
src/GLIUtility.py |
| 532 |
added get_grp_pkgs_from_cd() to return a list of packages in GRP for FE menus |
| 533 |
src/GenDialog.py |
| 534 |
still working on extra_packages. transformed the list to new format. |
| 535 |
added GRP indication to list. untested. |
| 536 |
TODO lists updated. |
| 537 |
src/fe/dialog/gli-dialog.py |
| 538 |
spelling mistook. |
| 539 |
|
| 540 |
14 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 541 |
src/GLIUtility.py: |
| 542 |
get_snapshot_from_cd() returns '' instead of 'file://' if nothing found |
| 543 |
|
| 544 |
5 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 545 |
src/GLIUtility.py: |
| 546 |
add get_directory_listing_from_uri() |
| 547 |
add http support to above |
| 548 |
add ftp support to above |
| 549 |
add scp support to above |
| 550 |
src/GLIArchitectureTemplate.py: |
| 551 |
"0" instead of 0 for key of single-element dict passed to _edit_config() |
| 552 |
|
| 553 |
5 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 554 |
value_only -> only_value |
| 555 |
|
| 556 |
3 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 557 |
gutted out all of etc_portage structure since it is now all handled by |
| 558 |
etc_files |
| 559 |
|
| 560 |
3 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 561 |
src/GLIArchitectureTemplate.py: |
| 562 |
install_packages() sends progress update notifications |
| 563 |
src/templates/x86ArchitectureTemplate.py: |
| 564 |
increase sleep to 5s between format tries |
| 565 |
src/GLIClientController.py: |
| 566 |
pass 'self' to AT instead of 'self._pretend' |
| 567 |
|
| 568 |
2 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 569 |
logger -> logger.log in x86AT |
| 570 |
|
| 571 |
1 Sep 2005; Preston Cody <codeman@gentoo.org> |
| 572 |
added set_etc_portage to IP. debugging gli-d's support for it. |
| 573 |
|
| 574 |
1 Sep 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 575 |
src/templates/x86ArchitectureTemplate.py: |
| 576 |
switch to 3 tries for mkfs instead of looping waiting for dev node to exist |
| 577 |
|
| 578 |
30 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 579 |
src/GLIArchitectureTemplate.py: |
| 580 |
add _portage_best_version() function and rework install_packages() to allow |
| 581 |
for future X of Y tracking |
| 582 |
Use best_visible instead of best_version |
| 583 |
tracked down and fixed missing = causing empty install extra packages |
| 584 |
use = when emerging also |
| 585 |
quickpkg hokey pokey |
| 586 |
run _get_packages_to_emerge() again with -pk |
| 587 |
|
| 588 |
22 Aug 2005; Preston Cody <codeman@gentoo.org> |
| 589 |
src/ArchTemplate: removed install_xorg_x11, and put the xorg.conf copying at |
| 590 |
the end of install_packages. |
| 591 |
added updateglid to /src/misc |
| 592 |
updated all core files with new GPL notice and copyright statement. |
| 593 |
|
| 594 |
21 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 595 |
src/GLIUtility.py: |
| 596 |
fix get_snapshot_from_cd() to look in /mnt/livecd/snapshots/ if it can't find |
| 597 |
a snapshot in /mnt/cdrom/snapshots/ |
| 598 |
get_snapshot_from_cd() adds file:// at the beginning |
| 599 |
change calls to extra package special case functions to 'self.blah' |
| 600 |
|
| 601 |
21 Aug 2005; Preston Cody <codeman@gentoo.org> |
| 602 |
src/ArchTemplate: changed "voodoo". |
| 603 |
changed order of portage sync methods. made a fallback to webrsync if |
| 604 |
normal emerge sync fails. |
| 605 |
removed get_sources_from_cd because it is obsolete. |
| 606 |
add special cases to install_packages. remove fatal exception on package |
| 607 |
install failure b/c the box will still be bootable. |
| 608 |
add install_xorg_x11. remove adding of xdm to runlevel. this will now be |
| 609 |
handled in the FEs. |
| 610 |
src/GenDialog: added a bunch of code for dealing with x11-based packages. |
| 611 |
awaiting testing. |
| 612 |
|
| 613 |
20 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 614 |
src/GLIStorageDevice.py: |
| 615 |
global try/except block around fs resizable detection code |
| 616 |
src/GLIArchitectureTemplate.py, src/GLIClientController.py: |
| 617 |
install-failed cleanup function |
| 618 |
|
| 619 |
18 Aug 2005; Preston Cody <codeman@gentoo.org> |
| 620 |
x86ArchTemplate: updated lilo code. separated out THREE commands. untested. |
| 621 |
|
| 622 |
16 Aug 2005; Preston Cody <codeman@gentoo.org> |
| 623 |
GLIGenDialog: |
| 624 |
add drive choices for loaded configs. |
| 625 |
force snapshot for dynamic_stage3 |
| 626 |
init the snapshoturi input to the cd snapshot if not already selected. |
| 627 |
if dynamic_stage3, skip the make.conf step. |
| 628 |
GLIUtility: add get_cd_snapshot_uri() for local snapshots. |
| 629 |
this fixes parts 1,2,3,6 of bug 102747 for gli-dialog |
| 630 |
|
| 631 |
16 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 632 |
src/GLIArchitectureTemplate.py: |
| 633 |
manually call MAKEDEV in stage3-dynamic code |
| 634 |
copy /etc/inittab.old to /etc/inittab in chroot |
| 635 |
src/GLIUtility.py: |
| 636 |
add beginning of validate_uri() function |
| 637 |
add file:/// support to validate_uri() |
| 638 |
single quotes when setting livecd password |
| 639 |
|
| 640 |
15 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 641 |
src/GLIGenDialog.py: |
| 642 |
change getmountpoint() to get_mountpoint() |
| 643 |
src/misc/updategtkfe: |
| 644 |
committed script to automatically download latest snapshot and run gtkfe |
| 645 |
src/templates/x86ArchitectureTemplate.py: |
| 646 |
fix _configure_lilo_add_windows() for IP -> GLISD stuff |
| 647 |
src/GLIArchitectureTemplate.py: |
| 648 |
give tmp_minor an initial value in mount_local_partitions so that the value |
| 649 |
remain from the previous drive |
| 650 |
|
| 651 |
14 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 652 |
src/templates/x86ArchitectureTemplate.py: |
| 653 |
Fix _configure_lilo() for IP using GLISD stuff |
| 654 |
src/GLIArchitectureTemplate.py: |
| 655 |
install_cron_daemon() treats "none" specially |
| 656 |
|
| 657 |
14 Aug 2005; Preston Cody <codeman@gentoo.org> |
| 658 |
old patch from Steven Mertens to resolve bug #96642 |
| 659 |
numerous asthetic changes to GenDialog, no real functionality changes though. |
| 660 |
strings renamed for global use if necessary. |
| 661 |
fix all three parts of bug 102291 |
| 662 |
disable set_etc_portage until fully-written. |
| 663 |
|
| 664 |
13 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 665 |
src/GLIClientController.py: |
| 666 |
lower-case http/ftp proxy envvars |
| 667 |
|
| 668 |
12 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 669 |
src/GLIClientController.py: |
| 670 |
log end of pre_install steps to aid in debugging |
| 671 |
src/templates/x86ArchitectureTemplate.py: |
| 672 |
change set_flag(flag) to set_flag(flag, True)...*stab* *stab* |
| 673 |
|
| 674 |
10 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 675 |
src/GLIArchitectureTemplate.py |
| 676 |
check to make sure that the device node we're wait for to exist isn't of |
| 677 |
type 'free' |
| 678 |
|
| 679 |
09 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 680 |
src/GLIGenDialog.py: |
| 681 |
convert install_packages to list in set_extra_packages() |
| 682 |
check return code of checklist() call in "Manual" section |
| 683 |
*actually* fix the first problem |
| 684 |
|
| 685 |
08 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIUtility.py: |
| 686 |
"source /etc/profile" does not ensure the ENV is correctly set up. Use "bash |
| 687 |
-l" instead, to ensure a proper environment (important for CONFIG_PROTECT). |
| 688 |
|
| 689 |
06 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 690 |
src/GLIArchitectureTemplate.py: |
| 691 |
re-fix net.eth1+ symlink code...wtf is wrong with cvs? |
| 692 |
|
| 693 |
04 Aug 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 694 |
Add CDATA support to SimpleXMLParser and add utility functions for it. |
| 695 |
|
| 696 |
04 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 697 |
src/GLIArchitectureTemplate.py: |
| 698 |
Fix case where vixie-cron is specified as a full package atom, as we still |
| 699 |
don't want to run 'crontab /etc/crontab' for it. |
| 700 |
|
| 701 |
*GLI-0.1 (3 Aug 2005) |
| 702 |
|
| 703 |
30 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 704 |
add scp to list of is_uri() so GenDialog doesn't complain. |
| 705 |
fixed livecd-kernel bug in bootloader code. |
| 706 |
fixed gendialog for dynamic_stage3 instead of "networkless" |
| 707 |
change bootloader to allow for both initrd and initramfs. |
| 708 |
fix IP for dynamic_stage3. |
| 709 |
fix ArchTemplate for broken mountpoint creation. fix GenDialog part showing. |
| 710 |
|
| 711 |
30 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 712 |
Added full scp:// URI support to get_uri() in GLIUtility |
| 713 |
Remove "networkless" from dynamic stage3 if locic. |
| 714 |
Remove print statement from scp:// code. |
| 715 |
Change scp code to check for "assword: " instead of "Password:" |
| 716 |
Fix post-install network code to create net.eth1+ symlink correctly |
| 717 |
Check to make sure pkg can be split on / and some debugging code |
| 718 |
Add 2>dev/null to emerge call in _get_packages_to_emerge() |
| 719 |
SimpleXMLParser handles True/False/None correctly now |
| 720 |
Comment out above fix |
| 721 |
Add partitioning wait-for-device-to-exist code to mount_local_partitions |
| 722 |
|
| 723 |
28 Jul 2005; Scott Myron <samyron@gentoo.org> |
| 724 |
Removed a FIXME in the GLIClientConfiguration that is no |
| 725 |
longer needed. |
| 726 |
|
| 727 |
27 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 728 |
Default to x86 in ClientConfig |
| 729 |
Typo in build-a-stage3 code. |
| 730 |
Remove MAKEDEV call in build-a-stage3 postscript. |
| 731 |
|
| 732 |
26 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 733 |
Rewrote init of IP for gli-d. Other GenDialog updates. |
| 734 |
allow network_type to be None in CConfig. |
| 735 |
|
| 736 |
24 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 737 |
Add _dynamic_stage3 option to IP. |
| 738 |
Add check for that option to dynamic stage3 code in ArchTemplate. |
| 739 |
Fix code to determine default route in get_eth_info() in GLIUtility. |
| 740 |
Fix serialization of dns-servers in ClientConfig. |
| 741 |
|
| 742 |
24 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 743 |
changed default values of cron/logger in IP. |
| 744 |
moved GenDialog IP init out to the individual files. gli-dialog's version |
| 745 |
will change quite a bit. |
| 746 |
|
| 747 |
22 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 748 |
added ppcArchTemplate. blank now. working on yaboot. |
| 749 |
modified ArchTemplate for amd64 and ppc custom kernels. |
| 750 |
skeleton implementation of _configure_yaboot. |
| 751 |
small fixes to other templates. |
| 752 |
|
| 753 |
21 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 754 |
GenDialog updates. changed comment in IP. |
| 755 |
|
| 756 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 757 |
src/GLIInstallProfile.py: |
| 758 |
Fix codeman's screwup of changing the service seperator to ',' in the parser |
| 759 |
without changing it in the serialization code! Also document this in a |
| 760 |
comment so you find it easier. Everybody needs to make sure they update |
| 761 |
their install profiles! |
| 762 |
|
| 763 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 764 |
src/GLIArchitectureTemplate.py: |
| 765 |
Fix casting of list to string and concat of None with string, as well as |
| 766 |
commented prototype of checking that mounting actually worked (found a case |
| 767 |
where mount can return success, but the mount won't be done). |
| 768 |
|
| 769 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 770 |
src/templates/x86ArchitectureTemplate.py: |
| 771 |
Remove TEMP UGLY HACK of time.sleep(5), and replace it with a while loop |
| 772 |
checking for the device, and sleeping 1 second each time. |
| 773 |
|
| 774 |
07 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 775 |
src/templates/x86ArchitectureTemplate.py: |
| 776 |
Refactor install_bootloader code and _install_{grub,lilo} so that 'none' for |
| 777 |
bootloader works again. Also rename _install_{grub,lilo} to |
| 778 |
_configure_{grub,lilo} since they don't install the loaders anymore |
| 779 |
themselves. |
| 780 |
|
| 781 |
7 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 782 |
fix global USE flags to not include the arch types at the end. |
| 783 |
updates to GenDialog and gli-d. |
| 784 |
|
| 785 |
6 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 786 |
fixing bootloader code for no initrd and initrd->initramfs naming change. |
| 787 |
|
| 788 |
6 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 789 |
Proper comments and parameters to GLIException in install_mta() |
| 790 |
Allow optional exclusion of HTTP, FTP, and/or RSYNC mirrors in list_mirrors() |
| 791 |
Add strip() to list_mirrors(), list_subarch_from_mirror() and |
| 792 |
list_tarball_from_mirror() to eliminate blank last item. |
| 793 |
|
| 794 |
5 Jul 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 795 |
Added stage3 generation code. |
| 796 |
|
| 797 |
5 Jul 2005; Preston Cody <codeman@gentoo.org> |
| 798 |
Added sleep(5) to partitioning code, temp got rid of the NOCOLOR in _emerge |
| 799 |
Mild changes to GenDialog. |
| 800 |
|
| 801 |
30 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 802 |
Remove separate install step configure_rc_conf() since it's handled by |
| 803 |
update_config_files() |
| 804 |
Make a copy of newvalues in _edit_config() so quotes aren't added when the |
| 805 |
function is called twice on the same file. |
| 806 |
|
| 807 |
29 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 808 |
Missing \ in sed in _get_packages_to_emerge() |
| 809 |
Removed explicit emerging of hotplug and no longer add it to the runlevel. |
| 810 |
Check in _quickpkg_deps() to ignore blank package names returned from |
| 811 |
_get_packages_to_emerge() |
| 812 |
|
| 813 |
28 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 814 |
fixed agaffney's missing = and extra : in x86AT. commented out crashing line |
| 815 |
in the dialog.py gauge code. |
| 816 |
|
| 817 |
28 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 818 |
Add code to update_config_files() to go through etc_files and update stuff. |
| 819 |
Check to see that _etc_files['make.conf'] exists in get_make_conf() |
| 820 |
Only use float() in partition xml parsing code if type == "free" |
| 821 |
|
| 822 |
28 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 823 |
finished almost all internationalization of GenDialog. |
| 824 |
attempt at fixing rc.conf function. moved 3 generate functions out of |
| 825 |
fe/gtk/RcDotConf and put them in Utility. fixed self bug. |
| 826 |
added dialog.py to the fe/dialog directory so it actually gets used. |
| 827 |
|
| 828 |
27 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 829 |
Roll rc_conf and make_conf into master etc_files structure in InstallProfile. |
| 830 |
|
| 831 |
27 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 832 |
fix extra entry in list_mirrors() |
| 833 |
beginning internationalization runthrough. |
| 834 |
|
| 835 |
26 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 836 |
added dialog.py to /src temporarily until it gets accepted upstream. |
| 837 |
fix for unused value in form in dialog.py and changed heights. |
| 838 |
fix GenDialog forms. |
| 839 |
|
| 840 |
25 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 841 |
Changed hostname/domainname for new baselayout. |
| 842 |
Changed _add_to_runlevel errors to logs. |
| 843 |
Updated TODO list to show status of GenDialog |
| 844 |
More updates to GenDialog including two checklists that probably won't work. |
| 845 |
update IP to use comma-separated list instead of space separated for services. |
| 846 |
|
| 847 |
24 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 848 |
Add dhcp_options to the CC, CConfig, and GenDialog. More overall changes to |
| 849 |
GenDialog as it gets closer to completion. |
| 850 |
|
| 851 |
22 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 852 |
Modify get_eth_info() to take a full interface name (eth0 fex). float() |
| 853 |
instead of int() in add_partition_device_partition() for minor (closes 96804) |
| 854 |
|
| 855 |
21 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 856 |
Changed setup_network_post to check for 'interfaces[interface][0] != "dhcp"' |
| 857 |
instead of 'interfaces[interface][1]' since DHCP uses that field for its |
| 858 |
options. setup_network_post() writes custom DHCP options to /etc/conf.d/net. |
| 859 |
|
| 860 |
20 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 861 |
Apply spawn() patch from #96644 (with minor changes). Make sure the return |
| 862 |
value from all spawn() calls is checked with GLIUtility.exitsuccess(). Fix |
| 863 |
small error with <pipe>.close() returning None. Fix space vs. tab issue. |
| 864 |
Fix undefined variable 'output' issue in spawn(). |
| 865 |
|
| 866 |
20 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 867 |
More updates to GenDialog and gli-d. |
| 868 |
|
| 869 |
19 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 870 |
Modify list_mirrors() to return a list of mirror URL/name pairs. |
| 871 |
|
| 872 |
19 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 873 |
Adding gli-dialog.py. Updates to GenDialog. Added function to GLIUtility to |
| 874 |
get subarch. |
| 875 |
|
| 876 |
16 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 877 |
Backend partitioning will create disklabel is none exists. Installprofile |
| 878 |
defaults to "" now instead of "msdos" for disklabel type. Fix for |
| 879 |
mount_local_partitions() to remember device along with minor in the |
| 880 |
parts_to_mount dict (closes #96319). mount_local_partitions() cleanups and |
| 881 |
add else block to log unsupported netmount types to mount_network_shares() |
| 882 |
|
| 883 |
15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 884 |
src/GLIArchitectureTemplate.py: |
| 885 |
Refactor kernel_compile common stuff, fix 2.4 build process. |
| 886 |
src/fe/cli/clife.py: |
| 887 |
Logging system. |
| 888 |
src/GLIUtility.py, src/GLIStorageDevice.py: |
| 889 |
Add comments about re-writes needed for boxes without sysfs. |
| 890 |
|
| 891 |
15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 892 |
src/GLIArchitectureTemplate.py: |
| 893 |
2.4 support (pull version data from /usr/src/linux/Makefile), incl. |
| 894 |
'make dep' call for custom compile. build_mode support for prepare-only and |
| 895 |
none types completed. custom compile function chains shell functions in |
| 896 |
spawned script, to allow for catching all errors. |
| 897 |
|
| 898 |
15 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 899 |
fixed up build_kernel in ArchTemplate for build_mode as well as in dialogfe |
| 900 |
and GenDialog. other gendialog updates as well. kernel updates untested. |
| 901 |
|
| 902 |
14 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 903 |
src/GLIInstallProfile.py: |
| 904 |
Change structure of etc-portage stuff. The serialization was broken before my |
| 905 |
last commit, and I am the only person that's ever used it. The new schema is |
| 906 |
as follows: |
| 907 |
<etc-portage> |
| 908 |
<file name="package.mask"/> |
| 909 |
<file name="package.unmask"> |
| 910 |
<entry atom="sys-kernel/openmosix-sources"/> |
| 911 |
</file> |
| 912 |
<file name="package.use"> |
| 913 |
<entry atom="sys-libs/db"> |
| 914 |
-java |
| 915 |
</entry> |
| 916 |
<entry atom="dev-libs/cyrus-sasl"> |
| 917 |
-ldap |
| 918 |
</entry> |
| 919 |
</file> |
| 920 |
</etc-portage> |
| 921 |
|
| 922 |
|
| 923 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 924 |
src/GLIInstallProfile.py: |
| 925 |
Add new entry for gli-profile/kernel-build-method item. Add missing |
| 926 |
serialize_etc_portage (temporary). Make serialize_make_conf always print the |
| 927 |
keys in the same order. |
| 928 |
|
| 929 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 930 |
src/GLIArchitectureTemplate.py: |
| 931 |
Clean up commenting used by _edit_config(), and fix bug where wrong comment |
| 932 |
was repeatedly appended to make.conf. |
| 933 |
|
| 934 |
13 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 935 |
src/GLIArchitectureTemplate.py: |
| 936 |
Put some Linux-2.6 specific code under a if statement. Store list of |
| 937 |
successfully mounted swap device for using swapoff. Add proper error checking |
| 938 |
to install_packages and install_filesystem_tools. Fixed namespace conflicts on |
| 939 |
'file'. Clean up some redundant code (thanks to pychecker).' |
| 940 |
|
| 941 |
13 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 942 |
Fix typos: get_extended() instead of get_extended_partition(). Added |
| 943 |
list_mirrors() and list_stage_tarballs_from_mirror() functions to GLIUtility. |
| 944 |
Change _emerge("sync") call to direct call to spawn to avoid 'emerge -k sync' |
| 945 |
|
| 946 |
12 Jun 2005; John N. Laliberte <allanonjl@gentoo.org> |
| 947 |
GLIInstallProfile.py: add missing set for dhcp_options if a tuple is passed |
| 948 |
in add_network_interface. |
| 949 |
|
| 950 |
12 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIArchitectureTemplate.py: |
| 951 |
ensure PORTAGE_TMPDIR/PORT_LOGDIR/PORTDIR_OVERLAY/PKGDIR exist prior to any |
| 952 |
usage - this caused a failure for stage1/stage2 previously. swapoff for swap |
| 953 |
space at end of install. Mount /dev, /dev/shm, /dev/pts and /sys during |
| 954 |
prepare_chroot. |
| 955 |
|
| 956 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> +src/cli/clife.py, |
| 957 |
+src/cli/README, +src/fe/installer-cli, +src/fe/installer-dialog, |
| 958 |
+src/fe/installer-gtk: |
| 959 |
Add new automated CLI frontend. Add scripts that are the intended means to |
| 960 |
use each frontend. |
| 961 |
|
| 962 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 963 |
src/GLIClientController.py: |
| 964 |
Add null type to network config, for cases where the interface is already up |
| 965 |
and should not be touched (netboot for example). |
| 966 |
|
| 967 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 968 |
src/GLIArchitectureTemplate.py: |
| 969 |
pcmcia is not a variable name for a call to _add_to_runlevel, it should be a |
| 970 |
string!. Try to use binary packages if available by default. |
| 971 |
|
| 972 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 973 |
src/GLIArchitectureTemplate.py: |
| 974 |
More error checking for _add_to_runlevel, to ensure that the init script |
| 975 |
actually exists before we try to add it. set_services phase must take place |
| 976 |
after the package installation, otherwise the init scripts might not exist. |
| 977 |
Find the correct init script for the cron and logging daemons, and add that |
| 978 |
instead of the package atom. |
| 979 |
|
| 980 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 981 |
src/GLIArchitectureTemplate.py: |
| 982 |
Fix up _edit_config so that it works if the file doesn't already exist. Fix |
| 983 |
usage of 'file' to 'contents' for the variable name, as it shadows |
| 984 |
__builtin__.file. |
| 985 |
|
| 986 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 987 |
src/GLIArchitectureTemplate.py: |
| 988 |
Add MTA install code, and include MTA install phase. Ensure |
| 989 |
PORT_LOGDIR/PORTDIR_OVERLAY are created in _emerge if needed. Add support |
| 990 |
for 'none' kernel config for build_kernel phase. Put kernel_script in |
| 991 |
/var/tmp instead of /root for build_kernel phase. |
| 992 |
|
| 993 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py: |
| 994 |
Rename mta variables to match syslog/cron variables. |
| 995 |
|
| 996 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 997 |
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py, |
| 998 |
src/.cvsignore, src/fe/dialog/.cvsignore, src/fe/gtk/.cvsignore, |
| 999 |
src/fe/net/client/.cvsignore, src/fe/net/server/.cvsignore, |
| 1000 |
src/templates/.cvsignore, src/tests/.cvsignore: |
| 1001 |
Refactor partition formatting again to include error checking. Allow 'none' |
| 1002 |
for kernel and bootloader specifications. Add .cvsignore files for .py[co]. |
| 1003 |
|
| 1004 |
11 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> |
| 1005 |
src/GLIArchitectureTemplate.py, src/templates/x86ArchitectureTemplate.py: |
| 1006 |
Refactor _emerge to remove duplicate code. Refactor mkfs code in backend to |
| 1007 |
only have a single spawn call. |
| 1008 |
|
| 1009 |
11 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1010 |
refixed samyron's fix of set_architecture_template. |
| 1011 |
|
| 1012 |
11 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1013 |
Move /tmp/spawn.sh and /tmp/post-install to /var/tmp since that should always |
| 1014 |
be executable. |
| 1015 |
|
| 1016 |
10 Jun 2005; Scott Myron <samyron@gentoo.org> |
| 1017 |
Fixed one of the FIXME's in the ClientConfiguration. There is now some |
| 1018 |
error checking when you call set_architecture_template. |
| 1019 |
|
| 1020 |
10 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1021 |
moved the mkfsopts input to the partition options menu instead of the during |
| 1022 |
the creation process. updated GenDialog to say it supports reiserfs v3. |
| 1023 |
|
| 1024 |
9 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> src/GLIInstallProfile.py, |
| 1025 |
src/GLIStorageDevice.py, fe/dialog/dialogfe.py: |
| 1026 |
Complete support for 'mkfsopts' parameter in main system and dialogfe. |
| 1027 |
Add support for other partition types to dialogfe. |
| 1028 |
Fix all usages of int(possible_big_number) to long(possible_bit_number) to |
| 1029 |
avoid integer overflows and wraparounds. |
| 1030 |
|
| 1031 |
9 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1032 |
Removed start/end from XML output and added mkfsopts to partitioning info. |
| 1033 |
'mkfsopts' parameter is now used and support for creating xfs, jfs, and |
| 1034 |
reiserfs is now in (patch from robbat2). Change '_parser' to 'self._parser' |
| 1035 |
in GLIClientConfiguration. Change from .1 and .9 to constants for |
| 1036 |
partitioning. Fix free space overwriting bug. Remove a few unused functions |
| 1037 |
from rewrite. Fix call to get_partition_at() |
| 1038 |
|
| 1039 |
8 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1040 |
Updates to GenDialog and dialogfe. |
| 1041 |
|
| 1042 |
7 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1043 |
Typo (%$^&#$!) fix in GLIStorageDevice. Minor fix recommended by pychecker |
| 1044 |
|
| 1045 |
6 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1046 |
more GenDialog updates to partitioning. |
| 1047 |
|
| 1048 |
5 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1049 |
Indenting issue in GLISD/get_ordered_partition_list. |
| 1050 |
updates to GenDialog partitioning and added default UTC for timezone in IP. |
| 1051 |
|
| 1052 |
5 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1053 |
Added GLISD.get_model() |
| 1054 |
|
| 1055 |
3 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1056 |
Added get_eth_devices() to GLIUtility. Updated netfe.py to newest version. |
| 1057 |
More updates to GenDialog :) |
| 1058 |
|
| 1059 |
3 Jun 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1060 |
Added get_interface_realname() function. |
| 1061 |
|
| 1062 |
2 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1063 |
Added auto-save of CConfig and copying to new /root after install. |
| 1064 |
yet even more GenDialog updates. |
| 1065 |
|
| 1066 |
1 Jun 2005; Preston Cody <codeman@gentoo.org> |
| 1067 |
removed print statement from GLISD. more updates to GenDialog. |
| 1068 |
|
| 1069 |
31 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1070 |
Not being able to fetch the stage tarball is now an exception. Chroot wrapper |
| 1071 |
passes along exit code. Fix typo in GLIStorageDevice causing mountopts to be |
| 1072 |
loaded from XML as ['mountopts']. Changed 'data' to 'self.data' in a few |
| 1073 |
places in GLIClientConfiguration. |
| 1074 |
|
| 1075 |
27 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1076 |
Fix mount_local_partitions(), configure_fstab(), and |
| 1077 |
install_filesystem_tools() to use GLISD directly. A few more fixes for same. |
| 1078 |
A few more fixes for templates/x86Archtemplate |
| 1079 |
|
| 1080 |
27 May 2005; Preston Cody <codeman@gentoo.org> |
| 1081 |
Removed more unused code from CConfig. Updated GLIGenDialog, but it is still |
| 1082 |
a work in progress. |
| 1083 |
|
| 1084 |
24 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1085 |
Changes in IP, GLISD, and templates/x86Archtemplate for IP using GLISD |
| 1086 |
directly. GLISD can now handle data imported from XML. |
| 1087 |
|
| 1088 |
22 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1089 |
Missing colon in GLIClientConfiguration. Add fix to GLIStorageDevice to |
| 1090 |
handle blank (no disklabel) disks. |
| 1091 |
|
| 1092 |
20 May 2005; Preston Cody <codeman@gentoo.org> |
| 1093 |
HUGE Reorganization of the InstallProfile. All sections alphabetized, cleaned |
| 1094 |
up, documented, and separated out serialization and grouped all sections. |
| 1095 |
|
| 1096 |
19 May 2005; Preston Cody <codeman@gentoo.org> |
| 1097 |
Reorganization of ClientConfiguration and gutting of unused functions. |
| 1098 |
Removed verbose option from CC. Moved import statement in IP and CConfig up. |
| 1099 |
|
| 1100 |
18 May 2005; Preston Cody <codeman@gentoo.org> |
| 1101 |
Fix use of /mnt/gentoo instead of _chroot_dir in finishing_cleanup |
| 1102 |
|
| 1103 |
17 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1104 |
Fixed bug in finishing_cleanup(). Fix a late-night coding error in |
| 1105 |
partitioning. CC serializes install profile to disk and prepare_chroot() |
| 1106 |
copies it into /mnt/gentoo/root |
| 1107 |
|
| 1108 |
16 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1109 |
Moved URI parsing into new function parse_uri() |
| 1110 |
|
| 1111 |
14 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1112 |
Added XMLParser module. |
| 1113 |
|
| 1114 |
13 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1115 |
Fix is_realstring() and rewrite is_uri() to use a regex to parse the URI. |
| 1116 |
Minor fix to is_uri() regex to allow hyphens in hostname. |
| 1117 |
|
| 1118 |
12 May 2005; Preston Cody <codeman@gentoo.org> |
| 1119 |
Updated finishing_cleanup for new unmounting method from agaffney. |
| 1120 |
|
| 1121 |
12 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1122 |
Fix GLILogger to use correct time format string. Fix _edit_config() to |
| 1123 |
properly comment out variables. Fix minor bug in finishing_cleanup(). Add |
| 1124 |
unicode support to is_realstring(). |
| 1125 |
|
| 1126 |
11 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1127 |
Added --nocolor to all emerge calls. Fix is_eth_device to test for zero |
| 1128 |
return value instead of non-zero. Add code to output a traceback to the |
| 1129 |
install log in the event of a GLI or non-GLI exception. Use NOCOLOR=yes |
| 1130 |
instead of --nocolor. |
| 1131 |
|
| 1132 |
10 May 2005; Preston Cody <codeman@gentoo.org> |
| 1133 |
Added GLIGenDialog.py to make a generic class for the dialog functions that |
| 1134 |
can be used by both dialogfe and the netfe/be. updated both for new filename. |
| 1135 |
date changes. 2004->2005. |
| 1136 |
|
| 1137 |
10 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1138 |
Removed 'quiet=True' from spawn() calls |
| 1139 |
|
| 1140 |
10 May 2005; Preston Cody <codeman@gentoo.org> |
| 1141 |
Updated GLIUtility with patches from chotchki. Also added documentation |
| 1142 |
|
| 1143 |
9 May 2005; Preston Cody <codeman@gentoo.org> |
| 1144 |
Added the function for set_etc_portage to ArchTemplate. no step for it yet. |
| 1145 |
Updated _edit_config in ArchTemplate, make_config, and various other fixes |
| 1146 |
from bug #89683, mostly touchups. |
| 1147 |
|
| 1148 |
6 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1149 |
GLIStorageDevice cleanup patch from bug #91761 |
| 1150 |
|
| 1151 |
3 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1152 |
Fixed timezone code to not link to /mnt/gentoo/usr/share/zoneinfo/blah. Fix |
| 1153 |
_edit_config(). Error logging casts 'error' to str |
| 1154 |
|
| 1155 |
2 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1156 |
Exceptions received in CC are logged before being passed to the FE. Added |
| 1157 |
code to CC to handle exceptions *not* thrown by the installer itself. |
| 1158 |
|
| 1159 |
1 May 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1160 |
get_max_mb_for_resize() returns -1 if not self.resizeable |
| 1161 |
|
| 1162 |
30 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1163 |
More dirty rsync hacks :-/ |
| 1164 |
|
| 1165 |
29 Apr 2005; Preston Cody <codeman@gentoo.org> |
| 1166 |
Patches from chotchki (bug #90325) to improve CC networking. untested. |
| 1167 |
|
| 1168 |
29 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1169 |
Proxies patch from chotchki (bug #90147). Fixed == instead of = typos in |
| 1170 |
GLIStorageDevice (pointed out by chotchki). Fixed missing int()s. Split |
| 1171 |
'custom' sync option into 'none' and 'snapshot'. Minor fixes to |
| 1172 |
GLIStorageDevice as suggested by pychecker. Fix minor bug in |
| 1173 |
_get_packages_to_emerge(). Fix _quickpkg_deps() to call |
| 1174 |
_get_packages_to_emerge() |
| 1175 |
|
| 1176 |
28 Apr 2005; Preston Cody <codeman@gentoo.org> |
| 1177 |
Added group-adding code to set_users in ArchTemplate |
| 1178 |
|
| 1179 |
27 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1180 |
Added post-install script code |
| 1181 |
|
| 1182 |
23 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1183 |
Fixed encapsulation issues in GLIClientController (bug #90141) |
| 1184 |
|
| 1185 |
22 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1186 |
Update resizing code in GLIStorageDevice |
| 1187 |
|
| 1188 |
17 Apr 2005; Preston Cody <codeman@gentoo.org> |
| 1189 |
Update AUTHORS, NEWS, TODO. Added documentation to GLILogger. |
| 1190 |
|
| 1191 |
17 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1192 |
Reverted change to ArchTemplate and added support for commented line in old |
| 1193 |
code. |
| 1194 |
|
| 1195 |
16 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1196 |
Changed _edit_config() to modify value in-place instead of commenting out and |
| 1197 |
adding the new value to the end of the file. |
| 1198 |
|
| 1199 |
15 Apr 2005; Preston Cody <codeman@gentoo.org> |
| 1200 |
Back. Did the docuementation thang for ArchTemplate and ClientConfiguration. |
| 1201 |
Also updated TODO list. |
| 1202 |
|
| 1203 |
14 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1204 |
Use blackace's one-liner to add comments for all function for use with |
| 1205 |
pythondoc. |
| 1206 |
|
| 1207 |
13 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1208 |
Moved 'end >= device_sectors' check out of loop to check for next partition's |
| 1209 |
start point (thanks to Marco Djukic). Fix >4 primary partitions on non-x86. |
| 1210 |
Partitioning code now tracks start/end of extended for placing logicals. End |
| 1211 |
point of logical is now adjusted along with start. |
| 1212 |
|
| 1213 |
11 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1214 |
Finish overhaul of backend partitioning code. Fixed all bugs that stood in |
| 1215 |
the way of partitioning from a blank disk. Add int() around access to minor |
| 1216 |
key in partition information due to new partition code leaving them as float. |
| 1217 |
|
| 1218 |
10 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1219 |
tidy_partitions() function in GLIStorageDevice. Tweaks to tidy code |
| 1220 |
|
| 1221 |
9 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1222 |
Major GLIStorageDevice overhaul...all MB now instead of sectors. |
| 1223 |
|
| 1224 |
8 Apr 2005; Scott Myron <samyron@gentoo.org> |
| 1225 |
Added support for DHCP options and MAC addresses in the InstallProfile. |
| 1226 |
|
| 1227 |
3 Apr 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1228 |
Changed mountopts check to work for blank and whitespace. Pipe emerge through |
| 1229 |
sed to properly strip out junk. |
| 1230 |
|
| 1231 |
2 Apr 2005; Preston Cody <codeman@gentoo.org> |
| 1232 |
fixed the way set_timezone works. added hotplug/coldplug for livecd-kernel |
| 1233 |
added --emptytree to stage2. fixed ethx not being added to runlevel defalt. |
| 1234 |
|
| 1235 |
31 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1236 |
Fixed indent problem in GLICController |
| 1237 |
|
| 1238 |
30 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1239 |
Check for disklabel type "loop" and use the device name without a minor. |
| 1240 |
|
| 1241 |
29 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1242 |
Remove /tmp/compile_output.log and /var/log/install.log when install is |
| 1243 |
complete. Added code to (hopefully) keep 2nd thread running after install. |
| 1244 |
Patch from zahna for extra arguments to the kernel. Patch from zahna to add |
| 1245 |
get_eth_info() function. Remove most of content in amd64ArchTemplate and |
| 1246 |
make it inherit from x86Archtemplate. kernel_args -> bootloader_kernel_args |
| 1247 |
|
| 1248 |
28 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1249 |
Added 'append_log=True' to all spawn() calls using logfile=. Append to log |
| 1250 |
when unpacking tarball. |
| 1251 |
|
| 1252 |
28 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1253 |
rewrote filesystem_tools. looks like it works so ripping out all the old |
| 1254 |
filesystem_tools code. |
| 1255 |
|
| 1256 |
26 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1257 |
Changed the print statements to logging in the partitioning BE code. |
| 1258 |
the logger may need to be imported to the x86archtemplate. unknown yet. |
| 1259 |
Added the finishing_cleanup function. |
| 1260 |
added a fix to the logger from BenUrban |
| 1261 |
|
| 1262 |
25 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1263 |
changed InstallProfile to remove is_uri check on kernel, stage, and portage |
| 1264 |
URIs. The blank uri check has been commented out. |
| 1265 |
ripped out error checking of set_services. this is done by _add_to_runlevel. |
| 1266 |
|
| 1267 |
25 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1268 |
set_stage_tarball_uri() doesn't raise an exception on a blank string. |
| 1269 |
|
| 1270 |
24 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1271 |
GRP-ish quickpkg code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in |
| 1272 |
the install profile if available. Commented out spawn() debugging prints |
| 1273 |
|
| 1274 |
23 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1275 |
small changes to setup_network_post. moved adding to runlevel of net.x to |
| 1276 |
after the device gets symlinked. added domainname runlevel command. |
| 1277 |
|
| 1278 |
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1279 |
minor fix (hopefully) to livecd-kernel code. Removed call to mkvardb in |
| 1280 |
livecd-kernel code as it's now done by catalyst. Switch _emerge() call to |
| 1281 |
spawn() call in livecd-kernel code to pass environment variables. |
| 1282 |
livecd-kernel code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in |
| 1283 |
the install profile if available. |
| 1284 |
|
| 1285 |
23 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1286 |
Added code to build_kernel() and emerge_kernel_sources() in ArchTemplate |
| 1287 |
to handle installing the livecd kernel into the new system. |
| 1288 |
|
| 1289 |
22 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1290 |
should emerge hotplug and coldplug before adding them to runlevel. |
| 1291 |
|
| 1292 |
21 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1293 |
took chroot out of grub_install command. |
| 1294 |
|
| 1295 |
21 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1296 |
Changed chroot wrapper code in spawn() to write the wrapper the python way |
| 1297 |
instead of the bash way to avoid quote conflicts. Added |
| 1298 |
'logfile=self._compile_logfile' to a number of spawn() calls. Added new |
| 1299 |
hash_password() function to GLIUtility. Remove command to 'rm /tmp/spawn.sh' |
| 1300 |
as it breaks the piping. |
| 1301 |
|
| 1302 |
20 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1303 |
Added the amd64ArchitectureTemplate, mostly a copy of x86 without lilo. |
| 1304 |
|
| 1305 |
20 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1306 |
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in |
| 1307 |
stage1() and stage2(). Added 'origminor' parameter to GLIStorageDevice and |
| 1308 |
GLIInstallProfile. |
| 1309 |
|
| 1310 |
19 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1311 |
Fixed a couple bugs in add_netmount() in GLIInstallProfile. spawn() outputs |
| 1312 |
to the actual tty8 with display_on_tty8 flag. Compile output logfile moved |
| 1313 |
into /mnt/gentoo in prepare_chroot() |
| 1314 |
|
| 1315 |
18 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1316 |
Add sigunmask.c contributed by d_m (on freenode) to counteract python's |
| 1317 |
retarted behavior regarding threads and signals. Add code to convert MB/%/* |
| 1318 |
to start/end sectors |
| 1319 |
|
| 1320 |
17 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1321 |
Add 2>&1 to cmd in spawn() |
| 1322 |
|
| 1323 |
16 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1324 |
Modified GLIUtility.exitsuccess() to work with return value from |
| 1325 |
commands.getstatusoutput instead of os.waitpid(). spawn() automatically |
| 1326 |
creates wrapper script for commands run inside chroot so multiple commands |
| 1327 |
and redirection can be used. Change exitsuccess() back. Added 'chmod a+x' |
| 1328 |
for the generated script from spawn() |
| 1329 |
|
| 1330 |
16 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1331 |
Removed default values for stage tarball URI and portage tree URI from |
| 1332 |
InstallProfile. These should be set by the FEs. also added services step to |
| 1333 |
ArchTemplate and coldplug/hotplug runlevels to the genkernel step. |
| 1334 |
Possibly fixed CC DHCP bug with -n. (thx agaffney) |
| 1335 |
|
| 1336 |
14 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1337 |
Small fix for setting the default gateway. Also added feature to dialogfe. |
| 1338 |
|
| 1339 |
7 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1340 |
Switched spawn() over to commands.getstatusoutput() instead of fork/waitpid |
| 1341 |
|
| 1342 |
1 Mar 2005; Preston Cody <codeman@gentoo.org> |
| 1343 |
Fixed a bunch of true -> True typos. lots of em |
| 1344 |
only write new resolv.conf if there are dns servers listed. |
| 1345 |
|
| 1346 |
1 Mar 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1347 |
Commented out 'display_on_tty8=True' in start_portmap() |
| 1348 |
|
| 1349 |
18 Feb 2005; Preston Cody <codeman@gentoo.org> |
| 1350 |
added progress bar to dialogfe and fix logger bug in ArchTemplate. |
| 1351 |
|
| 1352 |
18 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1353 |
Created GLISayWhat module. Renamed GLISayWhat to GLILocalization. Moved |
| 1354 |
lang parameter to __init__() |
| 1355 |
|
| 1356 |
10 Feb 2005; Preston Cody <codeman@gentoo.org> |
| 1357 |
updates to TODO list. |
| 1358 |
|
| 1359 |
6 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1360 |
Initial code for quickpkg GRP support. Fix loop to grab packages from |
| 1361 |
'emerge -p blah' |
| 1362 |
|
| 1363 |
6 Feb 2005; Preston Cody <codeman@gentoo.org> |
| 1364 |
check for dhcp in the network stuff and emerge it if it is. |
| 1365 |
added quickpkg to TODO list |
| 1366 |
|
| 1367 |
5 Feb 2005; Preston Cody <codeman@gentoo.org> |
| 1368 |
Changed the raising of 'warning' exceptions to a simple log of the error |
| 1369 |
so that the installer can continue. |
| 1370 |
|
| 1371 |
3 Feb 2005; Preston Cody <codeman@gentoo.org> |
| 1372 |
Some big changes. First, changed most output to display_on_tty8. |
| 1373 |
Second, added log lines to all templates. Some smaller fixes such as typos. |
| 1374 |
Also did some cleanups of old commented lines. |
| 1375 |
|
| 1376 |
1 Feb 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1377 |
Changed tty8 output to a fifo. Minor GLIStorageDevice fix thanks to BenUrban. |
| 1378 |
Undo change with fix. Escaping fix in GLIStorageDevice.py |
| 1379 |
|
| 1380 |
31 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1381 |
more updates to TODO list. hopefully we'll soon start removing items instead |
| 1382 |
of adding them. |
| 1383 |
|
| 1384 |
29 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1385 |
Changed the way GLIStorageDevice.get_max_sectors_for_resize() works |
| 1386 |
|
| 1387 |
27 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1388 |
updated TODO list. (again) |
| 1389 |
|
| 1390 |
25 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1391 |
changed output of portmap start to display_on_tty8. |
| 1392 |
fixed bootloader for udev and multiple kernels |
| 1393 |
fixed custom kernel config (again) |
| 1394 |
|
| 1395 |
22 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1396 |
changed default value of CC._enable_ssh to True because this is smart. |
| 1397 |
added code to allow custom kernel .config. may be unstable and break. sorry. |
| 1398 |
|
| 1399 |
21 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1400 |
partition() now waits until after it checks for partition flags before delete |
| 1401 |
the partitions :P |
| 1402 |
|
| 1403 |
19 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1404 |
Updated TODO. swapon failure it temporarily not an error. swapon is an error |
| 1405 |
again. is_uri() check only performed on portage_tree_snapshot_uri if it isn't |
| 1406 |
blank. |
| 1407 |
|
| 1408 |
19 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1409 |
Various fixes related to the add_users function. Still not yet finished. |
| 1410 |
Added things to the TODO list. Lets start using that! |
| 1411 |
|
| 1412 |
18 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1413 |
Added code to x86Template to format newly created partitions. Also added |
| 1414 |
some error checking code. GLIStorageDevice passes 'minor' with data to |
| 1415 |
InstallProfile. Added partition() call back in ArchTemplate. Fixed NFS |
| 1416 |
mounting code. |
| 1417 |
|
| 1418 |
18 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1419 |
Took out unnecessary setting of random livecd root password. the cd already |
| 1420 |
sets it randomly. |
| 1421 |
|
| 1422 |
15 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1423 |
Took out an unneeded step from CC's run() |
| 1424 |
|
| 1425 |
15 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1426 |
Attempt at detecting and adding windows partitions to lilo. |
| 1427 |
|
| 1428 |
14 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1429 |
Added lilo code and cleaned up lilo code. also do_partitioning renamed to |
| 1430 |
partition. fixed misc exit_status => exitstatus typo. |
| 1431 |
|
| 1432 |
11 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1433 |
Added basic code for resizing filesystems with pyparted. Fixed code for |
| 1434 |
resizing ntfs and ext2/3. |
| 1435 |
|
| 1436 |
10 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1437 |
Fixed partition() in x86Template so that it scans through logicals and deletes |
| 1438 |
before deleting containing extended partition. Also clears partition table to |
| 1439 |
be safe before third pass. |
| 1440 |
|
| 1441 |
08 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1442 |
Added mount_network_shares. not able to test it from this computer. |
| 1443 |
will test when i get back to school. |
| 1444 |
also added start_portmap to the client_controller as an always-do. |
| 1445 |
agaffney says this is needed for NFS mounts to work. |
| 1446 |
|
| 1447 |
08 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1448 |
Partial rewrite of partitioning code in x86Template. No longer shells out to |
| 1449 |
parted to perform actions, now uses all pyparted calls. Code "works" in a |
| 1450 |
test, but still needs lots of TLC. Also modified tests/install.py to work |
| 1451 |
with x86Template and GLIClientConfiguration. |
| 1452 |
|
| 1453 |
07 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1454 |
Initial move of partitioning code from ArchTemplate to x86Template. |
| 1455 |
|
| 1456 |
07 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1457 |
Added grp_install and services to InstallProfile. forgot about the set_root_password |
| 1458 |
|
| 1459 |
07 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1460 |
Fixed a few more edit_configs. fixed a chroot multicommand bug thanks to agaffney. |
| 1461 |
Test Install ran very well (skipping partitioning). |
| 1462 |
|
| 1463 |
05 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1464 |
My mid-day update. rewrote mount_local_partitions for order of mounting. fixed prepare_chroot |
| 1465 |
rewrote configure_fstab and install_bootloader for new partition format. fixed a few _edit_configs. |
| 1466 |
some may still have eluded me. |
| 1467 |
|
| 1468 |
05 Jan 2005; Preston Cody <codeman@gentoo.org> |
| 1469 |
Overhauled the entire ArchTemplate and did a lot of other misc fixes in order to test it. |
| 1470 |
Just finished mount_local_partitions in GLIArchitectureTemplate |
| 1471 |
|
| 1472 |
05 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1473 |
Added get_num_sectors() to GLIStorageDevice. |
| 1474 |
|
| 1475 |
04 Jan 2005; Andrew Gaffney <agaffney@gentoo.org> |
| 1476 |
GLIStorageDevice now tracks partition boundaries in sectors instead of cylinders. |
| 1477 |
Also now ignores <=100 sectors for free space. Removed remaining depends stuff |
| 1478 |
from GLIInstallProfile. |
| 1479 |
|
| 1480 |
20 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
| 1481 |
GLIStorageDevice returns "unknown" instead of "" for get_type() |
| 1482 |
|
| 1483 |
19 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
| 1484 |
Added get_extended_partition() to GLIStorageDevice. Rewrote get_logicals() to |
| 1485 |
actually work. Commented out resizability checking code for speed. |
| 1486 |
|
| 1487 |
17 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
| 1488 |
Switched to using dumpe2fs to determine free space left in ext2/3 filesystem in |
| 1489 |
GLIStorageDevice at the suggestion of plors |
| 1490 |
|
| 1491 |
10 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
| 1492 |
Added a function to GLIUtility to pull a value from a make.conf-style config |
| 1493 |
file. Minor type fix to GLIInstallProfile.py |
| 1494 |
|
| 1495 |
09 Dec 2004; Andrew Gaffney <agaffney@gentoo.org> |
| 1496 |
Added code in GLIArchitectureTemplate.py to write netmounts into fstab. Separated |
| 1497 |
network mounts from partition data structure in GLIInstallProfile |
| 1498 |
|
| 1499 |
27 Nov 2004; Andrew Gaffney <agaffney@gentoo.org> |
| 1500 |
Changed the way GLIStorageDevice.py determines the amount a ext2/3 filesystem |
| 1501 |
can be resized. |
| 1502 |
|
| 1503 |
27 Oct 2004; Preston Cody <codeman@gentoo.org> |
| 1504 |
Added some of the final functions to GLIInstallTemplate. |
| 1505 |
Yes this project is still active despite rare use of the Changelog! |
| 1506 |
|
| 1507 |
11 Jun 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
| 1508 |
Added the GLIPartitionTools.py file. This is a temporary insertion of |
| 1509 |
partitioning tools that will eventually go into their own package. |
| 1510 |
|
| 1511 |
27 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
| 1512 |
Added InstallProfileTODO.txt. Added GLIClientConfiguration.py (contains run-time |
| 1513 |
for the program). Added __init__(install_profile, client_configuration) to |
| 1514 |
GLI.InstallProfile. This sets install_profile and client_configuration once so as |
| 1515 |
to avoid constantly passing stuff every time we call a method. |
| 1516 |
|
| 1517 |
26 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
| 1518 |
|
| 1519 |
Added another private method to GLI.InstallTemplate. _edit_config() modifies config |
| 1520 |
files without messing up all the other stuff in them. This will be used for making |
| 1521 |
changes to make.conf, rc.conf, /etc/conf.d/net, etc... |
| 1522 |
|
| 1523 |
25 Mar 2004; Nathaniel McCallum <npmccallum@gentoo.org> |
| 1524 |
|
| 1525 |
Added GLI.InstallTemplate framework. This is not yet functional. However, it does |
| 1526 |
have a few basic things. I added two private methods. One is _depends(). This |
| 1527 |
will be used for dependency checking (ie. unpacking a tarball requires that |
| 1528 |
partitioning has been done). The other is _exec_in_chroot(). This is the exact |
| 1529 |
same syntax as os.system(), however, instead of being run in the liveCD |
| 1530 |
environment, it runs in the chroot. This requires a bit of fork() magic, so I |
| 1531 |
isolated the code. Hope to work more this week to get this class formed... |
| 1532 |
|
| 1533 |
14 Feb 2004; Eric Sammer <esammer@gentoo.org> |
| 1534 |
|
| 1535 |
Added SAX parsing. Made GLI.InstallProfile a subclass of xml.sax.ContentHandler for |
| 1536 |
obvious reasons. Switched kernel_modules and users to be lists instead of tuples |
| 1537 |
to allow for easier modification (mutable, rather than immutable objects). Updated |
| 1538 |
existing pydoc and added more. Implemented body of GLI.InstallProfile.parse(). |
| 1539 |
Cleaned file format of GLI.py a bit. Fixed all accessors to use self references. |
| 1540 |
Added initial unit test code. |
| 1541 |
|
| 1542 |
9 Feb 2004; Eric Sammer <esammer@gentoo.org> |
| 1543 |
|
| 1544 |
Added initial changelog. Setting up the basic structure of the CVS repository |
| 1545 |
for the project. Added the UML class diagram in docs. Added a skeletal GLI |
| 1546 |
python module. Added misc files such news, authors, etc. |