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