Andrew Gaffney [Sat, 4 Apr 2009 22:32:03 +0000 (17:32 -0500)]
Explicitly set target: in per-target spec values
Andrew Gaffney [Sat, 4 Apr 2009 22:16:20 +0000 (17:16 -0500)]
Apply additional patch from gentoo bug #255793 for arm subarches
Andrew Gaffney [Sat, 4 Apr 2009 19:34:01 +0000 (14:34 -0500)]
Apply patch from gentoo bug #264457 to prevent deleting of ccache cache
Andrew Gaffney [Tue, 24 Feb 2009 13:30:03 +0000 (07:30 -0600)]
Additional sh patch from gentoo bug #255793
Andrew Gaffney [Sat, 21 Feb 2009 17:21:39 +0000 (11:21 -0600)]
Apply modified patch from gentoo bug #255793 for enhanced sh/arm support
Andrew Gaffney [Fri, 30 Jan 2009 02:39:35 +0000 (20:39 -0600)]
Add note to TODO about enhanced catalystrc support
Andrew Gaffney [Wed, 21 Jan 2009 03:36:21 +0000 (21:36 -0600)]
Update reference to make.conf.example for new location in portage-2.1.6
Andrew Gaffney [Tue, 20 Jan 2009 22:45:13 +0000 (16:45 -0600)]
Remove --noreplace from run_merge call so that baselayout gets rebuilt with USE=build
Andrew Gaffney [Fri, 16 Jan 2009 17:12:58 +0000 (11:12 -0600)]
Change invalid atom '>=sys-apps/baselayout-2*' to '>=sys-apps/baselayout-2'
Andrew Gaffney [Wed, 14 Jan 2009 14:13:24 +0000 (08:13 -0600)]
Add run_controller_action() function and replace manual calls to controller file
Andrew Gaffney [Wed, 14 Jan 2009 13:44:49 +0000 (07:44 -0600)]
Add clean no-op for system target
Andrew Gaffney [Wed, 14 Jan 2009 02:11:30 +0000 (20:11 -0600)]
Fix up a few runtime errors
Andrew Gaffney [Tue, 13 Jan 2009 22:39:35 +0000 (16:39 -0600)]
Initial commit of new system target
Andrew Gaffney [Tue, 13 Jan 2009 21:56:47 +0000 (15:56 -0600)]
Add procedure for 'system' target
Chris Gianelloni [Tue, 13 Jan 2009 20:35:44 +0000 (12:35 -0800)]
TODO updates: add information about verification of seeds/caches/configs/specs, update automated actions section in targets, add all-stages and all-images target information, clean up system and world target information, add information on improving caching/resuming, move mixed host/target information into targets section, add information on replacing livecd-tools (hwdata/libkudzu/hwsetup) with internal code, and fixing the spacing.
Chris Gianelloni [Tue, 13 Jan 2009 18:48:53 +0000 (10:48 -0800)]
TODO updates: added section on statistics gathering/reporting, added section on (potential) new targets, and update boot loader section.
Andrew Gaffney [Tue, 13 Jan 2009 18:40:59 +0000 (12:40 -0600)]
Remove all references to 'spec' and 'addlargs' in target modules
Andrew Gaffney [Tue, 13 Jan 2009 15:47:25 +0000 (09:47 -0600)]
All targets have been updated not to use the spec_prefix, so we don't need to save the prefixed keys anymore
Andrew Gaffney [Tue, 13 Jan 2009 14:05:44 +0000 (08:05 -0600)]
Don't pass conf_values or addlargs to target __init__()
Andrew Gaffney [Tue, 13 Jan 2009 14:01:40 +0000 (08:01 -0600)]
Remove all references to self.settings[spec_prefix] and remove some now useless functions that remove the prefix from certain spec settings
Andrew Gaffney [Tue, 13 Jan 2009 13:37:00 +0000 (07:37 -0600)]
Reorganize init for snapshot target
Andrew Gaffney [Tue, 13 Jan 2009 13:22:11 +0000 (07:22 -0600)]
typo
Andrew Gaffney [Tue, 13 Jan 2009 13:19:41 +0000 (07:19 -0600)]
Try to import portage.util before portage_util
Andrew Gaffney [Tue, 13 Jan 2009 04:43:32 +0000 (22:43 -0600)]
Add validate_values() and compare_key() functions to Spec class
Andrew Gaffney [Tue, 13 Jan 2009 00:45:30 +0000 (18:45 -0600)]
Add new global config singleton object and Spec class and convert snapshot and generic targets to use it
Andrew Gaffney [Mon, 12 Jan 2009 22:04:37 +0000 (16:04 -0600)]
Add base singleton class definition
Andrew Gaffney [Mon, 12 Jan 2009 21:32:19 +0000 (15:32 -0600)]
add note about logging to TODO
Andrew Gaffney [Mon, 12 Jan 2009 20:40:57 +0000 (14:40 -0600)]
More replacements of print statement with msg()
Chris Gianelloni [Mon, 12 Jan 2009 17:33:36 +0000 (09:33 -0800)]
Move livecd/files directory/files to files/livecd.
Chris Gianelloni [Mon, 12 Jan 2009 17:25:37 +0000 (09:25 -0800)]
Move livecd/cdtar directory/files to files/cdtar.
Andrew Gaffney [Mon, 12 Jan 2009 15:53:28 +0000 (09:53 -0600)]
add some notes
Andrew Gaffney [Mon, 12 Jan 2009 15:46:40 +0000 (09:46 -0600)]
Replace more instances of print with msg()
Andrew Gaffney [Mon, 12 Jan 2009 15:33:21 +0000 (09:33 -0600)]
More replacements of the print statement with msg()
Andrew Gaffney [Mon, 12 Jan 2009 13:52:27 +0000 (07:52 -0600)]
Replace all instances of print with catalyst.output.msg() in catalyst.target.generic_stage
Andrew Gaffney [Mon, 12 Jan 2009 13:34:33 +0000 (07:34 -0600)]
Move set_autoresume_path() from catalyst.target.generic_stage to catalyst.target.generic
Andrew Gaffney [Mon, 12 Jan 2009 04:59:33 +0000 (22:59 -0600)]
Make use of set_autoresume() in target modules
Andrew Gaffney [Mon, 12 Jan 2009 04:55:35 +0000 (22:55 -0600)]
Add check_autoresume() and set_autoresume() helpers to catalyst.target.generic and make use of them
Andrew Gaffney [Mon, 12 Jan 2009 04:01:00 +0000 (22:01 -0600)]
Import only cmd() from catalyst.spawn
Andrew Gaffney [Mon, 12 Jan 2009 03:49:03 +0000 (21:49 -0600)]
Remove redundant imports
Andrew Gaffney [Mon, 12 Jan 2009 03:35:50 +0000 (21:35 -0600)]
Remove catalyst.support module
Andrew Gaffney [Mon, 12 Jan 2009 03:31:36 +0000 (21:31 -0600)]
Move remaining stuff from catalyst.support to catalyst.config
Andrew Gaffney [Mon, 12 Jan 2009 03:23:55 +0000 (21:23 -0600)]
Move addl_arg_parse() from catalyst.support to catalyst.util
Andrew Gaffney [Mon, 12 Jan 2009 02:29:35 +0000 (20:29 -0600)]
missing self.
Andrew Gaffney [Mon, 12 Jan 2009 02:28:32 +0000 (20:28 -0600)]
Move gen_contents_file() and gen_digest_file() from catalyst.target.generic_stage to catalyst.hash
Andrew Gaffney [Mon, 12 Jan 2009 01:08:32 +0000 (19:08 -0600)]
Move netboot-final.sh from targets/support/ to targets/netboot/
Andrew Gaffney [Mon, 12 Jan 2009 01:02:54 +0000 (19:02 -0600)]
Rename netboot2 target to netboot
Andrew Gaffney [Mon, 12 Jan 2009 00:28:42 +0000 (18:28 -0600)]
Cleanups to make pychecker happy
Andrew Gaffney [Mon, 12 Jan 2009 00:11:58 +0000 (18:11 -0600)]
Grab just the first value return from the now-working call to resource.getrlimit()
Andrew Gaffney [Mon, 12 Jan 2009 00:04:26 +0000 (18:04 -0600)]
Whack the outdated and non-functional netboot target
Andrew Gaffney [Mon, 12 Jan 2009 00:02:38 +0000 (18:02 -0600)]
Small cleanups to make pychecker happy
Andrew Gaffney [Sun, 11 Jan 2009 23:27:03 +0000 (17:27 -0600)]
import cleanups
Andrew Gaffney [Sun, 11 Jan 2009 23:21:20 +0000 (17:21 -0600)]
Move read_makeconf() and parse_makeconf() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 23:17:20 +0000 (17:17 -0600)]
Move file_locate() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 23:05:44 +0000 (17:05 -0600)]
Add catalyst.spawn import where needed and move more spawn-related stuff from catalyst.support to catalyst.spawn
Andrew Gaffney [Sun, 11 Jan 2009 23:00:06 +0000 (17:00 -0600)]
add note about singleton class for tracking PIDs
Andrew Gaffney [Sun, 11 Jan 2009 22:59:14 +0000 (16:59 -0600)]
Move custom exception classes to catalyst.error and all spawn-related functions to catalyst.spawn
Andrew Gaffney [Sun, 11 Jan 2009 22:46:48 +0000 (16:46 -0600)]
Move all hash and contents functions to catalyst.hash
Andrew Gaffney [Sun, 11 Jan 2009 22:15:07 +0000 (16:15 -0600)]
Move countdown() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:10:42 +0000 (16:10 -0600)]
Move generate_contents() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:08:38 +0000 (16:08 -0600)]
Move touch() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:06:13 +0000 (16:06 -0600)]
Move ismount() and pathcompare() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:59:37 +0000 (15:59 -0600)]
Remove unused function hexify()
Andrew Gaffney [Sun, 11 Jan 2009 21:58:43 +0000 (15:58 -0600)]
Move normpath() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:47:29 +0000 (15:47 -0600)]
Move list_to_string() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:42:21 +0000 (15:42 -0600)]
Move list_bashify() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:31:01 +0000 (15:31 -0600)]
Replace catalyst.support.read_from_clst() with catalyst.util.readfile() and update references
Andrew Gaffney [Sun, 11 Jan 2009 18:39:19 +0000 (12:39 -0600)]
Modify global import from catalyst.support to just import what's needed
Andrew Gaffney [Sun, 11 Jan 2009 18:36:25 +0000 (12:36 -0600)]
Move find_binary() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 18:20:35 +0000 (12:20 -0600)]
Move msg(), warn(), and die() to catalyst.output and update all references
Andrew Gaffney [Sun, 11 Jan 2009 18:11:54 +0000 (12:11 -0600)]
Load defaults into myconf before parsing config
Andrew Gaffney [Sun, 11 Jan 2009 17:58:28 +0000 (11:58 -0600)]
Condense code that checks for various things in 'options' to use a loop
Andrew Gaffney [Sun, 11 Jan 2009 17:44:13 +0000 (11:44 -0600)]
Get rid of arches and targets classes and move functions into the module instead
Andrew Gaffney [Sun, 11 Jan 2009 06:36:34 +0000 (00:36 -0600)]
More trailing whitespace cleanups
Andrew Gaffney [Sun, 11 Jan 2009 06:33:39 +0000 (00:33 -0600)]
kill trailing whitespace
Andrew Gaffney [Sun, 11 Jan 2009 06:33:16 +0000 (00:33 -0600)]
kill trailing whitespace
Andrew Gaffney [Sun, 11 Jan 2009 06:32:09 +0000 (00:32 -0600)]
Kill lots and lots of trailing whitespace in .py files
Andrew Gaffney [Sun, 11 Jan 2009 06:05:44 +0000 (00:05 -0600)]
Fix up a few bad replacements from previous commit
Andrew Gaffney [Sun, 11 Jan 2009 06:01:44 +0000 (00:01 -0600)]
Do a mass sed to fix up all remaining usage of has_key()
Andrew Gaffney [Sun, 11 Jan 2009 04:29:45 +0000 (22:29 -0600)]
Clean up instances of has_key() for py3k
Andrew Gaffney [Sun, 11 Jan 2009 03:38:18 +0000 (21:38 -0600)]
We don't need to pass conf_values since it's a global var
Andrew Gaffney [Sun, 11 Jan 2009 03:36:18 +0000 (21:36 -0600)]
Pre-split options from config file and remove unnecessary imported modules
Andrew Gaffney [Sun, 11 Jan 2009 03:17:00 +0000 (21:17 -0600)]
Move code to verify digest and hash functions to a separate function
Andrew Gaffney [Sun, 11 Jan 2009 03:08:31 +0000 (21:08 -0600)]
Allow build_target() to re-raise the exception for the top-level handler to catch it
Andrew Gaffney [Sun, 11 Jan 2009 03:06:28 +0000 (21:06 -0600)]
Move catalyst.support import to top of file
Andrew Gaffney [Sun, 11 Jan 2009 03:02:59 +0000 (21:02 -0600)]
Remove check for sys.argv length since we already check for needed arguments later on
Andrew Gaffney [Sun, 11 Jan 2009 03:01:49 +0000 (21:01 -0600)]
Rename version() to show_version()
Andrew Gaffney [Sun, 11 Jan 2009 02:59:41 +0000 (20:59 -0600)]
Remove import_modules()
Andrew Gaffney [Sun, 11 Jan 2009 02:57:44 +0000 (20:57 -0600)]
Remove references to generic_stage_target
Andrew Gaffney [Sun, 11 Jan 2009 02:53:30 +0000 (20:53 -0600)]
Remove _target from target module filenames, since they're already in target/ subdir
Andrew Gaffney [Sun, 11 Jan 2009 02:44:20 +0000 (20:44 -0600)]
Remove builder.py and all references
Andrew Gaffney [Sun, 11 Jan 2009 02:26:07 +0000 (20:26 -0600)]
Move catalyst_support.py to catalyst.support and update references
Andrew Gaffney [Sun, 11 Jan 2009 02:17:53 +0000 (20:17 -0600)]
Move catalyst_lock.py to catalyst/lock.py and update references
Andrew Gaffney [Sun, 11 Jan 2009 01:54:36 +0000 (19:54 -0600)]
Move target module loading logic into build_target_map() in catalyst.target module
Andrew Gaffney [Sun, 11 Jan 2009 01:30:24 +0000 (19:30 -0600)]
Add target map in each target module and remove register() function
Change catalyst program to load target modules with catalyst.target.targets class
Remove required_build_targets and valid_build_targets from catalyst_support.py, since we can scan the dir now
Andrew Gaffney [Sun, 11 Jan 2009 01:17:54 +0000 (19:17 -0600)]
Move all *_target.py modules under modules/catalyst/target and create parent catalyst.target module
Andrew Gaffney [Sun, 11 Jan 2009 01:08:54 +0000 (19:08 -0600)]
add note about module loading method
Andrew Gaffney [Sun, 11 Jan 2009 01:07:45 +0000 (19:07 -0600)]
Remove hard-coded arch list now that find_arch_modules() is known to work
Andrew Gaffney [Sun, 11 Jan 2009 00:59:23 +0000 (18:59 -0600)]
Move subarch and maching maps to bottom of arch files, since the classes aren't defined yet at the top
Andrew Gaffney [Sun, 11 Jan 2009 00:51:05 +0000 (18:51 -0600)]
Forgot the sh arch module
Andrew Gaffney [Sun, 11 Jan 2009 00:49:45 +0000 (18:49 -0600)]
Move subarch and machine map information to variables at top of each arch module and get rid of register() function