Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (as text) (annotate)|
flipped around a few function args
move some of portage function from GLIAT src/GLIArchitectureTemplate.py: revamp install_packages() for new GLIPortage
src/GLIArchitectureTemplate.py: extract /usr/livecd/metadata.tar.bz2 to chroot if it exists
src/GLIArchitectureTemplate.py: removed redundant bind mounts
update changelog. str() fix to AT
x86AT: separated out emerge/configure from running of bootloader added MBR drive support to lilo. these changes will likely not work. AT: added setup_and_run_bootloader step.
src/GLIArchitectureTemplate.py, src/GLIClientController.py, src/GLIClientCongifuration.py: install mode magic
src/GLIArchitectureTemplate.py: add _portage_best_version() function updated gtkfe TODO
added a space
fix to stage2() debug code
src/GLIArchitectureTemplate.py: fix to stage1() debug code
src/GLIArchitectureTemplate.py: small fix to debugging code in copy_pkg_to_chroot()
src/GLIArchitectureTemplate.py: change fat32/fat16 to vfat in mount_local_partitions() so mount doesn't get confused
new copy_pkg_to_chroot() actually works now
more generic of symlink crappiness
create image_dir with -p in copy_pkg_to_chroot()
whoops...that shouldn't have been commented ou
src/GLIArchitectureTemplate.py: replace preinst, copy, postinst, rm steps with qmerge
src/GLIArchitectureTemplate.py: copy_pkg_to_chroot() overhaul - does install the Right Way(TM) (copy files to image dir, run pkg_setup, pkg_preinst, copy to /, pkg_postinst, remove image dir) and works around /etc/gconf symlink problem
remove print statement from exitsuccess() comment out second -pk run for GRP
above disabled because it sucks
kernelpkgs.txt support code
src/GLIArchitectureTemplate.py: use tar | tar to copy files in copy_pkg_to_chroot() extract devices.tar.bz2 created by baselayout instead of running MAKEDEV
switch dynamic-stage3 to new method lots of bug fixes from adding debug code
src/GLIUtility.py: added parse_vdb_contents() src/GLIArchitectureTemplate.py: added copy_pkg_to_chroot() added debug code to dynamic-stage3
DEBUGGING ADDED TO AT. verbose field added to CConfig.
add unpack progress to portage snapshot
src/GLIUtility.py, src/GLIArchitectureTemplate.py: horrible tangled mess of code that is tarball unpacking subprogress display
turn GRP 'fix' back on
src/GLIArchitectuctureTemplate.py: comment out 2 lines that try to quickpkg again in install_packages() add definition of 'build_mode' in _configure_lilo()
small _edit_config() cleanup
insert new line under previous definition of variable if it exists
src/GLIArchitectureTemplate.py: add code in _edit_config() to comment line where variable is defined previously
src/GLIArchitectureTemplate.py: rework _edit_config() to not write duplicate entries
changed AT spawn command for distcc for nodeps.
src/gli-dialog.py: added set_distcc to the list GenDialog: added set_distcc. untested. IP: added install_distcc flag. AT: added install_distcc function based on the flag. runs after build_kernel
"0" instead of 0 for key of single-element dict passed to _edit_config()
value_only -> only_value
gutted out all of etc_portage structure since it is now all handled by etc_files
install_packages() sends progress update notifications sub-progress bar in gtkfe
comment out hack
run _get_packages_to_emerge() again with -pk
remove extra =
quickpkg hokey pokey
use = when emerging also
uncomment logger line
tracked down and fixed missing = causing empty install extra packages
Use best_visible instead of best_version
another damn typo
add _portage_best_version() function and rework install_packages() to allow for future X of Y tracking
updated all core files with new GPL notice and copyright statement.
src/ArchTemplate: removed install_xorg_x11, and put the xorg.conf copying at the end of install_packages.
change calls to extra package special case functions to 'self.blah'
remove adding of xdm to runlevel. this will now be handled in the FEs.
removed get_sources_from_cd because it is obsolete. add special cases to install_packages. remove fatal exception on package install failure b/c the box will still be bootable. add install_xorg_x11
changed order of portage sync methods. made a fallback to webrsync if normal emerge sync fails.
src/ArchTemplate: changed "voodoo".
install-failed cleanup function
copy /etc/inittab.old to /etc/inittab in chroot
manually call MAKEDEV in stage3-dynamic code
give tmp_minor an initial value in mount_local_partitions so that the value remain from the previous drive
install_cron_daemon() treats 'none' specially
src/GLIArchitectureTemplate.py old patch from Steven Mertens to resolve bug #96642
check to make sure that the device node we're wait for to exist isn't of type 'free'
re-fix net.eth1+ symlink code...wtf is wrong with cvs?
Fix specific case for vixie-cron crontab call.
put back fix that disappeared somehow
updated fix minus typos :P
Add partitioning wait-for-device-to-exist code to mount_local_partitions
fix ArchTemplate for broken mountpoint creation. fix GenDialog part showing.
Add 2>dev/null to emerge call in _get_packages_to_emerge()
added a bit of debugging code to _quickpkg_deps()
Fix post-install network code to create net.eth1+ symlink correctly
changed if logic for dynamic stage3 code
Typo in build-a-stage3 code. Remove MAKEDEV call in build-a-stage3 postscript.
Add _dynamic_stage3 option to IP. Add check for that option to dynamic stage3 code in ArchTemplate. Add option to Stage.py for dynamic stage3
modified ArchTemplate for amd64 and ppc custom kernels. skeleton implementation of _configure_yaboot. small fixes to other templates.
Aren't python types fun? Casting is important\!
Proper comments and parameters to GLIException in install_mta()
Added stage3 generation code
Added sleep(5) to partitioning code, temp got rid of the NOCOLOR in _emerge Mild changes to GenDialog.
Remove separate install step configure_rc_conf() since it's handled by update_config_files() Make a copy of newvalues in _edit_config() so quotes aren't added when the function is called twice on the same file.
Check in _quickpkg_deps() to ignore blank package names returned from _get_packages_to_emerge()
Removed explicit emerging of hotplug and no longer add it to the runlevel.
Missing \ in sed in _get_packages_to_emerge()
Add code to update_config_files() to go through etc_files and update stuff.
Changed hostname/domainname for new baselayout. Changed _add_to_runlevel errors to logs. Updated TODO list to show status of GenDialog More updates to GenDialog including two checklists that probably won't work.
setup_network_post() writes custom DHCP options to /etc/conf.d/net
Changed setup_network_post to check for 'interfaces[interface] != dhcp' instead of 'interfaces[interface]' since DHCP uses that field for its options
Make sure the return value from all spawn() calls is checked with GLIUtility.exitsuccess()
mount_local_partitions() cleanups and add else block to log unsupported netmount types to mount_network_shares()
Fix for mount_local_partitions() to remember device along with minor in the parts_to_mount dict (closes #96319).
Refactor kernel_compile common stuff, fix 2.4 build process.
2.4 support (pull version data from /usr/src/linux/Makefile), incl. 'make dep' call for custom compile. build_mode support for prepare-only and none types completed. custom compile function chains shell functions in spawned script, to allow for catching all errors.
fixed up build_kernel in ArchTemplate for build_mode as well as in dialogfe and GenDialog. other gendialog updates as well. kernel updates untested.
Add stub note in build_kernel, to remind myself about it for tommorow.
use /var/tmp instead of /root for tempfiles.
Clean up commenting used by _edit_config(), and fix bug where wrong comment was repeatedly appended to make.conf.
Put some Linux-2.6 specific code under a if statement. Store list of successfully mounted swap device for using swapoff. Add proper error checking to install_packages and install_filesystem_tools. Fixed namespace conflicts on 'file'. Clean up some redundant code (thanks to pychecker).
Change _emerge('sync') call to direct call to spawn to avoid 'emerge -k sync'
Mount /dev, /dev/shm, /dev/pts and /sys during prepare_chroot.
ensure PORTAGE_TMPDIR/PORT_LOGDIR/PORTDIR_OVERLAY/PKGDIR exist prior to any usage - this caused a failure for stage1/stage2 previously. swapoff for swap space at end of install.
Try to use binary packages if available by default.
pcmcia is not a variable name for a call to _add_to_runlevel, it should be a string!.
remove a line of debug code I commited by mistake.
More error checking for _add_to_runlevel, to ensure that the init script actually exists before we try to add it. set_services phase must take place after the package installation, otherwise the init scripts might not exist. Find the correct init script for the cron and logging daemons, and add that instead of the package atom.
Fix up _edit_config so that it works if the file doesn't already exist. Fix usage of 'file' to 'contents' for the variable name, as it shadows __builtin__.file.
forgot a make_conf item.
Add MTA install code, and include MTA install phase. Ensure PORT_LOGDIR/PORTDIR_OVERLAY are created in _emerge if needed. Add support for 'none' kernel config for build_kernel phase. Put kernel_script in /var/tmp instead of /root for build_kernel phase.
Refactor partition formatting again to include error checking. Allow 'none' for kernel and bootloader specifications. Add .cvsignore files for .py[co].
Refactor code using spawn to reduce duplication.
Move /tmp/spawn.sh and /tmp/post-install to /var/tmp since that should always be executable
Added auto-save of CConfig and copying to new /root after install. yet even more GenDialog updates.
A few more fixes for same.
Fix mount_local_partitions(), configure_fstab(), and install_filesystem_tools() to use GLISD directly
Fix use of /mnt/gentoo instead of _chroot_dir in finishing_cleanup
CC serializes install profile to disk and prepare_chroot() copies it into /mnt/gentoo/root
Fixed bug in finishing_cleanup()
undo accidental (apparently) paste in middle of comment
Fix minor bug in finishing_cleanup()
Updated finishing_cleanup for new unmounting method from agaffney.
Fix _edit_config() to properly comment out variables.
Use NOCOLOR=yes instead of --nocolor.
Added --nocolor to all emerge calls
updated both for new filename. date changes. 2004->2005.
Removed 'quiet=True' from spawn() calls
Added the function for set_etc_portage to ArchTemplate. no step for it yet. Updated _edit_config in ArchTemplate, make_config, and various other fixes from bug #89683, mostly touchups.
Fixed timezone code to not link to /mnt/gentoo/usr/share/zoneinfo/blah. Fix _edit_config()
More dirty rsync hacks :-/
Fix _quickpkg_deps() to call _get_packages_to_emerge()
Fix minor bug in _get_packages_to_emerge()
Split 'custom' sync option into 'none' and 'snapshot'
Added group-adding code to set_users in ArchTemplate
added post-install script code
Reverted change to ArchTemplate and added support for commented line in old code.
reverted changes to GLIArchitectureTemplate.py
_edit_config() changes value in-place and supports ##commented##
Back. Did the docuementation thang for ArchTemplate and ClientConfiguration. Also updated TODO list.
Use blackace's one-liner to add comments for all function for use with pythondoc.
Fixed all bugs that stood in the way of partitioning from a blank disk.
Pipe emerge through sed to properly strip out junk.
check for non-blank PORTDIR and PORTAGE_TMPDIR
try to suppress error output from _quickpkg_deps()
Changed mountopts check to work for blank and whitespace
fixed ethx not being added to runlevel defalt.
added hotplug/coldplug for livecd-kernel added --emptytree to stage2.
fixed the way set_timezone works.
set mountopts to 'defaults' if empty
change " to ' in set_users()
change " to ' in set_root_password()
Remove /tmp/compile_output.log and /var/log/install.log when install is complete.
Added 'append_log=True' to all spawn() calls using logfile=
looks like it works so ripping out all the old filesystem_tools code.
forgot a line
rem'd a print line i missed
undid previous change
Added the finishing_cleanup function.
ripped out error checking of set_services. this is done by _add_to_runlevel.
fixing agaffney's spelling error
GRP-ish quickpkg code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in the install profile if available.
livecd-kernel code pulls PKGDIR and PORTAGE_TMPDIR from make.conf info in the install profile if available.
another bug fix to the livecd-kernel code
Switch _emerge() call to spawn() call in livecd-kernel code to pass environment variables.
small changes to setup_network_post. moved adding to runlevel of net.x to after the device gets symlinked. added domainname runlevel command.
Removed call to mkvardb in livecd-kernel code as it's now done by catalyst.
minor fix (hopefully) to livecd-kernel code
minor fix (hopefully) to livecd-kernel code
minor fix (hopefully) to livecd-kernel code
lots of stuff in both FEs and backend...read the ChangeLogs :P
should emerge hotplug and coldplug before adding them to runlevel.
added logfile parameter to spawn() calls
Added _get_packages_to_emerge() to GLIArchitectureTemplate and calls in stage1() and stage2()
spawn() outputs to the actual tty8 with display_on_tty8 flag. Compile output logfile moved into /mnt/gentoo in prepare_chroot(). Removed fifo code in gtkfe
Removed default values for stage tarball URI and portage tree URI from InstallProfile. These should be set by the FEs. also added services step to ArchTemplate and coldplug/hotplug runlevels to the genkernel step. Possibly fixed CC DHCP bug with -n. (thx agaffney)
Small fix for setting the default gateway. Also added feature to dialogfe.
only write new resolv.conf if there are dns servers listed.
more true -> True typos
Fixed a bunch of true -> True typos.
fix another true instead of True
added progress bar to dialogfe and fix logger bug in ArchTemplate.
updates to TODO list and small change to ArchTemplate
fix 'emerge -p blah' loop and add GRP option to Stage.py
initial code for quickpkg GRP support
check for dhcp in the network stuff and emerge it if it is
Changed the raising of 'warning' exceptions to a simple log of the error so that the installer can continue.
mildly big changes. First, changed most output to display_on_tty8. Second, added log lines to all templates. small cleanups of old commented lines.
small fix. see changelog
fixed custom kernels and added runtime pretend to dialogfe
added code to allow custom kernel .config.
undo last change
swapon failure isn't an error for now
fixed NFS mounting code
Attempt at detecting and adding windows partitions to lilo.
small misc fixes. typos and such.
Added lilo code and cleaned up lilo code. also do_partitioning renamed to partition
Added mount_network_shares. not able to test it from this computer. will test when i get back to school. also added start_portmap to the client_controller as an always-do. agaffney says this is needed for NFS mounts to work.
forgot about the set_root_password
Added grp_install and services
partition code move
one more fix + changelog b/c i am a good listener
found a few more _edit_configs
rewrote configure_fstab and install_bootloader for new partition format.
my midday update on GLI
changes to mount_local_partitions
sure hope i didn't screw anything up this time
you like the fixes? ok i'll keep em coming.
oops forgot to click save
ok large update here. first: removed _depends. second: fixed spawn()s. third: moved _ functions from Utility back to ArchTemplate 4: moved bootloader to x86Template 5: lots of misc other fixes
gettin back in my groove. lots more fixes here.
Changed the way exceptions work...
Added code in GLIArchitectureTemplate.py to write netmounts into fstab
add get_install_steps() to ArchTemplate
split ArchTemplate's preinstall() into unpack_stage_tarball() and prepare_chroot()
new size passed to ntfsresize in bytes instead of KiB
fix to partitioning code to strip .0 from end of number sent to ntfsresize
Python's handling of int vs. string sucks
minor ArchTemplate fixes
added code to preserve lba flag on partitions
moved some partition helper function code into main partitioning function
modifications to GLIStorageDevice for determining ext2/3 freespace
added partitioning code to GLIArchitectureTemplate
update to GLIArchitectureTemplate to refer back to GLIClientController
Started porting GLIInstallTemplate to the GLIArchitectureTemplate
Cleanups and updates...
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|