catalyst.git
15 years agoMake use of set_autoresume() in target modules
Andrew Gaffney [Mon, 12 Jan 2009 04:59:33 +0000 (22:59 -0600)]
Make use of set_autoresume() in target modules

15 years agoAdd check_autoresume() and set_autoresume() helpers to catalyst.target.generic and...
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

15 years agoImport only cmd() from catalyst.spawn
Andrew Gaffney [Mon, 12 Jan 2009 04:01:00 +0000 (22:01 -0600)]
Import only cmd() from catalyst.spawn

15 years agoRemove redundant imports
Andrew Gaffney [Mon, 12 Jan 2009 03:49:03 +0000 (21:49 -0600)]
Remove redundant imports

15 years agoRemove catalyst.support module
Andrew Gaffney [Mon, 12 Jan 2009 03:35:50 +0000 (21:35 -0600)]
Remove catalyst.support module

15 years agoMove remaining stuff from catalyst.support to catalyst.config
Andrew Gaffney [Mon, 12 Jan 2009 03:31:36 +0000 (21:31 -0600)]
Move remaining stuff from catalyst.support to catalyst.config

15 years agoMove addl_arg_parse() from catalyst.support to catalyst.util
Andrew Gaffney [Mon, 12 Jan 2009 03:23:55 +0000 (21:23 -0600)]
Move addl_arg_parse() from catalyst.support to catalyst.util

15 years agomissing self.
Andrew Gaffney [Mon, 12 Jan 2009 02:29:35 +0000 (20:29 -0600)]
missing self.

15 years agoMove gen_contents_file() and gen_digest_file() from catalyst.target.generic_stage...
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

15 years agoMove netboot-final.sh from targets/support/ to targets/netboot/
Andrew Gaffney [Mon, 12 Jan 2009 01:08:32 +0000 (19:08 -0600)]
Move netboot-final.sh from targets/support/ to targets/netboot/

15 years agoRename netboot2 target to netboot
Andrew Gaffney [Mon, 12 Jan 2009 01:02:54 +0000 (19:02 -0600)]
Rename netboot2 target to netboot

15 years agoCleanups to make pychecker happy
Andrew Gaffney [Mon, 12 Jan 2009 00:28:42 +0000 (18:28 -0600)]
Cleanups to make pychecker happy

15 years agoGrab just the first value return from the now-working call to resource.getrlimit()
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()

15 years agoWhack the outdated and non-functional netboot target
Andrew Gaffney [Mon, 12 Jan 2009 00:04:26 +0000 (18:04 -0600)]
Whack the outdated and non-functional netboot target

15 years agoSmall cleanups to make pychecker happy
Andrew Gaffney [Mon, 12 Jan 2009 00:02:38 +0000 (18:02 -0600)]
Small cleanups to make pychecker happy

15 years agoimport cleanups
Andrew Gaffney [Sun, 11 Jan 2009 23:27:03 +0000 (17:27 -0600)]
import cleanups

15 years agoMove read_makeconf() and parse_makeconf() from catalyst.support to catalyst.util
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

15 years agoMove file_locate() 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

15 years agoAdd catalyst.spawn import where needed and move more spawn-related stuff from catalys...
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

15 years agoadd note about singleton class for tracking PIDs
Andrew Gaffney [Sun, 11 Jan 2009 23:00:06 +0000 (17:00 -0600)]
add note about singleton class for tracking PIDs

15 years agoMove custom exception classes to catalyst.error and all spawn-related functions to...
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

15 years agoMove all hash and contents functions to catalyst.hash
Andrew Gaffney [Sun, 11 Jan 2009 22:46:48 +0000 (16:46 -0600)]
Move all hash and contents functions to catalyst.hash

15 years agoMove countdown() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 22:15:07 +0000 (16:15 -0600)]
Move countdown() from catalyst.support to catalyst.util

15 years agoMove generate_contents() 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

15 years agoMove touch() 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

15 years agoMove ismount() and pathcompare() 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

15 years agoRemove unused function hexify()
Andrew Gaffney [Sun, 11 Jan 2009 21:59:37 +0000 (15:59 -0600)]
Remove unused function hexify()

15 years agoMove normpath() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 21:58:43 +0000 (15:58 -0600)]
Move normpath() from catalyst.support to catalyst.util

15 years agoMove list_to_string() 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

15 years agoMove list_bashify() 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

15 years agoReplace catalyst.support.read_from_clst() with catalyst.util.readfile() and update...
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

15 years agoModify global import from catalyst.support to just import what's needed
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

15 years agoMove find_binary() from catalyst.support to catalyst.util
Andrew Gaffney [Sun, 11 Jan 2009 18:36:25 +0000 (12:36 -0600)]
Move find_binary() from catalyst.support to catalyst.util

15 years agoMove msg(), warn(), and die() to catalyst.output and update all references
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

15 years agoLoad defaults into myconf before parsing config
Andrew Gaffney [Sun, 11 Jan 2009 18:11:54 +0000 (12:11 -0600)]
Load defaults into myconf before parsing config

15 years agoCondense code that checks for various things in 'options' to use a loop
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

15 years agoGet rid of arches and targets classes and move functions into the module instead
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

15 years agoMore trailing whitespace cleanups
Andrew Gaffney [Sun, 11 Jan 2009 06:36:34 +0000 (00:36 -0600)]
More trailing whitespace cleanups

15 years agokill trailing whitespace
Andrew Gaffney [Sun, 11 Jan 2009 06:33:39 +0000 (00:33 -0600)]
kill trailing whitespace

15 years agokill trailing whitespace
Andrew Gaffney [Sun, 11 Jan 2009 06:33:16 +0000 (00:33 -0600)]
kill trailing whitespace

15 years agoKill lots and lots of trailing whitespace in .py files
Andrew Gaffney [Sun, 11 Jan 2009 06:32:09 +0000 (00:32 -0600)]
Kill lots and lots of trailing whitespace in .py files

15 years agoFix up a few bad replacements from previous commit
Andrew Gaffney [Sun, 11 Jan 2009 06:05:44 +0000 (00:05 -0600)]
Fix up a few bad replacements from previous commit

15 years agoDo a mass sed to fix up all remaining usage of has_key()
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()

15 years agoClean up instances of has_key() for py3k
Andrew Gaffney [Sun, 11 Jan 2009 04:29:45 +0000 (22:29 -0600)]
Clean up instances of has_key() for py3k

15 years agoWe don't need to pass conf_values since it's a global var
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

15 years agoPre-split options from config file and remove unnecessary imported modules
Andrew Gaffney [Sun, 11 Jan 2009 03:36:18 +0000 (21:36 -0600)]
Pre-split options from config file and remove unnecessary imported modules

15 years agoMove code to verify digest and hash functions to a separate function
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

15 years agoAllow build_target() to re-raise the exception for the top-level handler to catch it
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

15 years agoMove catalyst.support import to top of file
Andrew Gaffney [Sun, 11 Jan 2009 03:06:28 +0000 (21:06 -0600)]
Move catalyst.support import to top of file

15 years agoRemove check for sys.argv length since we already check for needed arguments later on
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

15 years agoRename version() to show_version()
Andrew Gaffney [Sun, 11 Jan 2009 03:01:49 +0000 (21:01 -0600)]
Rename version() to show_version()

15 years agoRemove import_modules()
Andrew Gaffney [Sun, 11 Jan 2009 02:59:41 +0000 (20:59 -0600)]
Remove import_modules()

15 years agoRemove references to generic_stage_target
Andrew Gaffney [Sun, 11 Jan 2009 02:57:44 +0000 (20:57 -0600)]
Remove references to generic_stage_target

15 years agoRemove _target from target module filenames, since they're already in target/ subdir
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

15 years agoRemove builder.py and all references
Andrew Gaffney [Sun, 11 Jan 2009 02:44:20 +0000 (20:44 -0600)]
Remove builder.py and all references

15 years agoMove catalyst_support.py to catalyst.support and update references
Andrew Gaffney [Sun, 11 Jan 2009 02:26:07 +0000 (20:26 -0600)]
Move catalyst_support.py to catalyst.support and update references

15 years agoMove catalyst_lock.py to catalyst/lock.py 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

15 years agoMove target module loading logic into build_target_map() in catalyst.target module
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

15 years agoAdd target map in each target module and remove register() function
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

15 years agoMove all *_target.py modules under modules/catalyst/target and create parent catalyst...
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

15 years agoadd note about module loading method
Andrew Gaffney [Sun, 11 Jan 2009 01:08:54 +0000 (19:08 -0600)]
add note about module loading method

15 years agoRemove hard-coded arch list now that find_arch_modules() is known to work
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

15 years agoMove subarch and maching maps to bottom of arch files, since the classes aren't defin...
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

15 years agoForgot the sh arch module
Andrew Gaffney [Sun, 11 Jan 2009 00:51:05 +0000 (18:51 -0600)]
Forgot the sh arch module

15 years agoMove subarch and machine map information to variables at top of each 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

15 years agoAdd catalyst.util.load_module() function
Andrew Gaffney [Sun, 11 Jan 2009 00:39:02 +0000 (18:39 -0600)]
Add catalyst.util.load_module() function
Move arch modules under modules/catalyst/arch
Add catalyst.arch.arches class to assist in loading arch modules

15 years agoadd .gitignore file with *.py[co]
Andrew Gaffney [Sun, 11 Jan 2009 00:36:09 +0000 (18:36 -0600)]
add .gitignore file with *.py[co]

15 years agoChange __version__ to 2.99 for catalyst_3 branch
Andrew Gaffney [Sat, 10 Jan 2009 23:18:52 +0000 (17:18 -0600)]
Change __version__ to 2.99 for catalyst_3 branch

15 years agoAdd note about metadata_overlay being default in 2.1.6
Andrew Gaffney [Fri, 9 Jan 2009 01:55:21 +0000 (19:55 -0600)]
Add note about metadata_overlay being default in 2.1.6

15 years agoUpdated the AUTHORS section and the header for the ChangeLog, to reflect that individ...
Chris Gianelloni [Fri, 9 Jan 2009 00:21:32 +0000 (16:21 -0800)]
Updated the AUTHORS section and the header for the ChangeLog, to reflect that individual authors now retain their copyright to code they submit.

15 years agoRewrote TODO to make it clearer and added a ton of new items to it.
Chris Gianelloni [Thu, 8 Jan 2009 23:45:13 +0000 (15:45 -0800)]
Rewrote TODO to make it clearer and added a ton of new items to it.

15 years agoscrew you python...hard
Andrew Gaffney [Fri, 2 Jan 2009 16:18:26 +0000 (10:18 -0600)]
screw you python...hard

15 years agoDisable removal of 'target_path' when build starts
Andrew Gaffney [Fri, 2 Jan 2009 14:00:23 +0000 (08:00 -0600)]
Disable removal of 'target_path' when build starts

16 years agoApply patch from armin76 to actually make use of the busybox_config value in the...
Andrew Gaffney [Fri, 26 Dec 2008 13:29:04 +0000 (07:29 -0600)]
Apply patch from armin76 to actually make use of the busybox_config value in the spec

16 years agoAdd support for gk's --busybox-config= option
Andrew Gaffney [Wed, 24 Dec 2008 18:56:51 +0000 (12:56 -0600)]
Add support for gk's --busybox-config= option

16 years agoMissing / before 'iso'
Andrew Gaffney [Tue, 23 Dec 2008 03:11:19 +0000 (21:11 -0600)]
Missing / before 'iso'

16 years agoAdd support for purging to snapshot target
Andrew Gaffney [Mon, 22 Dec 2008 04:47:50 +0000 (22:47 -0600)]
Add support for purging to snapshot target

16 years agoAdd mix-in cdtar idea to TODO
Andrew Gaffney [Sun, 21 Dec 2008 22:22:24 +0000 (16:22 -0600)]
Add mix-in cdtar idea to TODO

16 years agoMerge branch 'master' of git+ssh://git@wolf31o2.org/projs/catalyst
Andrew Gaffney [Sun, 21 Dec 2008 22:17:12 +0000 (16:17 -0600)]
Merge branch 'master' of git+ssh://git@wolf31o2.org/projs/catalyst

Conflicts:
ChangeLog

16 years agoRemove old isolinux-3.09 cdtar files
Andrew Gaffney [Sun, 21 Dec 2008 22:16:00 +0000 (16:16 -0600)]
Remove old isolinux-3.09 cdtar files

16 years agoUpdate cdtar files to isolinux-3.72 and latest memtest86+-2.10
Andrew Gaffney [Sun, 21 Dec 2008 22:13:38 +0000 (16:13 -0600)]
Update cdtar files to isolinux-3.72 and latest memtest86+-2.10

16 years agoMarking this 2.0.6.903 for testing.
Chris Gianelloni [Fri, 19 Dec 2008 22:53:36 +0000 (14:53 -0800)]
Marking this 2.0.6.903 for testing.

16 years agoDisable copying of nb-busybox.cf since it isn't used anyway
Andrew Gaffney [Fri, 12 Dec 2008 19:08:12 +0000 (13:08 -0600)]
Disable copying of nb-busybox.cf since it isn't used anyway

16 years agophp vs. python fail
Andrew Gaffney [Mon, 8 Dec 2008 13:55:39 +0000 (07:55 -0600)]
php vs. python fail

16 years agoA few typo and other minor fixes as reported by armin76
Andrew Gaffney [Sun, 7 Dec 2008 20:14:47 +0000 (14:14 -0600)]
A few typo and other minor fixes as reported by armin76

16 years agoAdd support for digests="all" for gentoo bug #209611
Andrew Gaffney [Sun, 7 Dec 2008 05:53:09 +0000 (23:53 -0600)]
Add support for digests="all" for gentoo bug #209611

16 years agoAutomatically append --netboot to GK_ARGS for netboot2 target
Andrew Gaffney [Sun, 7 Dec 2008 05:04:43 +0000 (23:04 -0600)]
Automatically append --netboot to GK_ARGS for netboot2 target
Remove explicit --initramfs-overlay=/tmp/image from netboot2 example spec

16 years agoRemove evil hacks that copy gk files around for netboot2
Andrew Gaffney [Sun, 7 Dec 2008 04:01:50 +0000 (22:01 -0600)]
Remove evil hacks that copy gk files around for netboot2

16 years agoBumping version for release.
Chris Gianelloni [Thu, 4 Dec 2008 17:13:37 +0000 (09:13 -0800)]
Bumping version for release.

16 years agoDefault to umask 022 for spawn() unless otherwise specified for gentoo bug #239048
Andrew Gaffney [Mon, 1 Dec 2008 13:17:57 +0000 (07:17 -0600)]
Default to umask 022 for spawn() unless otherwise specified for gentoo bug #239048

16 years agoAdd support for -P/--purgeonly option
Andrew Gaffney [Sat, 29 Nov 2008 02:04:15 +0000 (20:04 -0600)]
Add support for -P/--purgeonly option

16 years agoUpdated README to tell the user where to locate catalyst.conf if not using an ebuild...
Chris Gianelloni [Fri, 31 Oct 2008 09:52:27 +0000 (02:52 -0700)]
Updated README to tell the user where to locate catalyst.conf if not using an ebuild.  Thanks to Claus Boehmer <Claus.Boehmer@gmx.de> for pointing it out.

16 years agoChangeLog update.
Chris Gianelloni [Fri, 31 Oct 2008 07:02:20 +0000 (00:02 -0700)]
ChangeLog update.

16 years agoMerge branch 'master' of git+ssh://git@wolf31o2.org/projs/catalyst
Chris Gianelloni [Fri, 31 Oct 2008 07:01:22 +0000 (00:01 -0700)]
Merge branch 'master' of git+ssh://git@wolf31o2.org/projs/catalyst

16 years agoKicking out a 2.0.6.901 release for testing.
Chris Gianelloni [Fri, 31 Oct 2008 07:01:12 +0000 (00:01 -0700)]
Kicking out a 2.0.6.901 release for testing.

16 years agoAutomatically prepend build dir path to livecd/iso if it's not an absolute path
agaffney [Mon, 29 Sep 2008 02:52:32 +0000 (21:52 -0500)]
Automatically prepend build dir path to livecd/iso if it's not an absolute path

16 years agoUpdate TODO with placeholder idea
agaffney [Sun, 28 Sep 2008 20:05:27 +0000 (15:05 -0500)]
Update TODO with placeholder idea

16 years agoCreate catalyst.util module with capture_traceback() and print_traceback() functions
agaffney [Sun, 7 Sep 2008 19:23:29 +0000 (14:23 -0500)]
Create catalyst.util module with capture_traceback() and print_traceback() functions
Capture and print traceback when build fails instead of letting python do it

16 years agoSwitch commandline spec value parsing to use catalyst.config.ConfigParser
agaffney [Sun, 7 Sep 2008 19:02:03 +0000 (14:02 -0500)]
Switch commandline spec value parsing to use catalyst.config.ConfigParser

16 years agoA few fixes to ParserBase after actually testing it
agaffney [Sun, 7 Sep 2008 04:21:16 +0000 (23:21 -0500)]
A few fixes to ParserBase after actually testing it
switch to parsing config file with ConfigParser