Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
another copy 'n paste malfunction
must remember to actually look at the code I copy 'n paste from gtkfe
escape quote
add code for updating COUNTER properly for livecd-kernel and GRP
actually write the ebuild into the vdb
initial reimplementation of livecd-kernel
removed old rsync-copying code. fix webrsync fallback
allow 'None' for cron
move logfiles before unmounting
stupid typo
fix progress update in kernel building code copy compile_output.log instead of moving
adding a do_recommended_partitioning function only for use in fully-automated installs.
adding a call to re-grab verbose value in the first function call.
added debugging to hopefully expose the self._mounted_devices bug gli-d: don't run phase5 when not in profile mode.
updating TODO fixed dhcp iface bug. need extra [0] adding height to gauge dialog, will see if it works. adding a progress status to the kernel compilation.
add a little more descriptive debugging to kernel sources change order of params for emerge command.
grp_install parameter passed to emerge() and get_deps()
lets hope this will actually work this time.
AT: uncomment the update_config_files link add steps into the phases.
add subprogress to install_failed_cleanup()
modify step structure for random steps
comment out initial update_config_files and configure_make_conf steps since they don't make sense there anymore
continue of partition is swap...we don't want to try to mount it in the loop below
look for 'swap' or 'linux-swap'
sub-progress notification for localmounts
structure in GLIAT just has function name instead of function pointer CC uses getattr() to get function pointer from name
make wait_for_device_node() module function instead of class instance function and fix usage in Partitioning
remove duplicate wait_for_devnode() and change function call in GLIAT
more updates. mountpoints screen mostly works.
kill all partitioning code in GLIAT
kill import of GLISD from GLIArchTemplate more gtkfe mods for overhaul
fixing indenting and two small string-integer issues
found and corrected another function that used partitions to mounts
forgot to define two vars.
trying to fix up clientcontroller a bit. it's skipping the first step
another round of bugsquashing in progress. this time i can actually get the install to try to start. WARNING: pretend mode turned off. program is now active
fixing the usual typos and mistakes found when you finally test the code you write
reordered functions. removed references to the client-config fixed fstab and other locations that used mountpoints to use the new mounts. removed unused rc.conf function. other smaller touchups.
more general updates in an effort to get the code functional
adding a new branch for the overhaul of GLI
src/GLIArchitectureTemplate.py: use _wait_for_device_node() any place we were looping and checking before
src/GLIArchitectureTemplate.py: add _wait_for_device_node()
src/GLIArchitectureTemplate.py: break after installing 1 mta in install_mta()
was missing /dev and /proc mounts. adding them. also resorting before reversing to unmount.
third time's the charm
more stupid mistakes
need to reverse the mounted list
added a while condition on setting a user password src/GLIArchitectureTemplate.py: adding a self._mounted_devices to keep track of mounted partitions. When cleaning up, only unmount these partitions. Not yet tested.
src/GLIStorageDevice.py: properly identify apple_bootstrap partitions
src/GLIArchitectureTemplate.py: force conversion of 'mb' to long
move imports from x86AT to GLIAT
move partitioning code to GLIAT
src/GLIArchitectureTemplate.py: pass quotes_around_value=False when adding default route to conf.d/net
src/GLIArchitectureTemplate.py: copy backup custom.conf from livecd if present
src/GLIArchitectureTemplate.py: skip blank entries/files in update_config_files()
Added code to the mta step in AT to parse the install packages list and look for mtas and if it finds it emerge it.
only show packages listed in grppkgs.txt if networkless
use -p with mkdir
fix up lib/lib64 pre-creation code
lib -> lib64 pre-creation in /usr as well as /
use new-style routes_ethX instead of gateway in /etc/conf.d/net
don't install splashutils for livecd-kernel+bootsplash
added a check of the length of the directory in /usr/src if under 6 characters should fix bug 131809
run env-update && source /etc/profile before emerge -e system
bootsplash code for compiled kernels
src/GLIArchitectureTemplate.py: automatically emerge splashutils and splash-themes-livecd if kernel_bootsplash and livecd-kernel
src/GLIArchitectureTemplate.py: use get_devnode() in local mount and fstab stuff
skip blank group
src/GLIStorageDevice.py, src/templates/x86ArchitectureTemplate.py: allow iterating over Device object to get partitions
don't hardcode file names
src/GLIArchitectureTemplate.py: only install filesystem tools for partitions with a mountpoint
2 spacing typos
str() a list in debug output
src/GLIArchitectureTemplate.py: ignore extended partitions in mount_local_partitions()
don't try to add blank service entries
copy /etc/{passwd,group,shadow} from livecd to chroot sans 'gentoo'
make symlink without /
/lib -> lib64 symlink has no beginning /
src/GLIArchitectureTemplate.py: pre-create /lib64 dir and /lib -> /lib64 symlink if it exists on livecd
src/GLIPortage, src/GLIArchitectureTemplate.py: ignore_missing flag for copy_pkg_to_chroot()
AT: rc.conf -> conf.d/clock
cosmetic changes
remove _quickpkg_deps() and _portage_best_{visible,version}()
src/GLIPortage.py: show 'Calculating dependencies for ...' in subprogress bar at beginning of emerge() src/GLIArchitectureTemplate.py: copy /etc/X11/gdm/gdm.conf.old into chroot if /etc/X11/gdm/gdm.conf exists in the chroot
AT: bootsplash is now gensplash gliserv: add advanced_mode to shared_info webgli: Added advanced mode. mostly just disables a few screens.
bah, python--
call copy_pkg_to_chroot() directly for livecd-kernel
all kinds of fun stuff...see the Changelog
src/GLIPortage.py: get_deps() calls 'emerge -p' and then removed packages that aren't in vdb added emerge() src/GLIArchitectureTemplate.py: install_packages() now calls emerge() in GLIPortage
copy installer.log to installer.log.failed on install failure
src/GLIArchitectureTemplate.py: remove add_pkg_to_world() and copy_pkg_to_chroot() src/GLIPortage.py: copy_pkg_to_chroot() chroot's to run ebuild is use_root=False src/GLIUtility.py: added get_keymaps()
stupid =, stupid portage
remove depgraph class add debugging code to get_deps()
modify get_deps() to get deptree for each package and merge into final list src/GLIArchitectureTemplate.py: combine code for GRP/compile in install_packages() into one block
typos--
convert to string
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
added add_pkg_to_world()
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
small fix
typos
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
missing )
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
debug code
Use best_visible instead of best_version
another damn typo
missing colon
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.
colon
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.
slight typo
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][0] != dhcp' instead of 'interfaces[interface][1]' 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 _quickpkg_deps()
Fix minor bug in _get_packages_to_emerge()
Split 'custom' sync option into 'none' and 'snapshot'
comma bug
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
rewrote filesystem_tools
whitespace cleanup
rem'd a print line i missed
undid previous change
Added the finishing_cleanup function.
fix typo
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
spelling error
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
miniscule updates
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
added 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...
Added GLIArchitectureTemplate
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.
| ViewVC Help | |
| Powered by ViewVC 1.1.20 |