Commit Graph

26 Commits

Author SHA1 Message Date
Fabio Erculiani 356bb0a6dc [molecule.output] port new code from Entropy (entropy.output) 2010-05-15 22:11:13 +02:00
Fabio Erculiani 189a84b960 [molecule.specs.remaster] fix support for destination_iso_image_name, thanks to Joost Ruis for reporting 2010-05-09 22:33:59 +02:00
Fabio Erculiani 996cdfe3c1 [molecule.specs.plugins.remaster] fix wrong arguments in _exec_inner_script call 2010-05-09 16:49:49 +02:00
Fabio Erculiani 574464aa0a [molecule.specs.skel] export general purpose variables to env
When GenericExecutionStep instance is created, some general purpose
.spec file variable values are exported to environment:
- RELEASE_STRING
- RELEASE_VERSION
- RELEASE_DESC
2010-04-25 16:13:09 +02:00
Fabio Erculiani 9df4990c63 [molecule.specs.builtin] fix _run_error_script() 2010-04-22 22:12:42 +02:00
Fabio Erculiani 92b09e57f9 [molecule.specs.plugins.builtin] add support for inner_source_chroot_script
inner_source_chroot_script hook can be used to permanently modify
source chroots when using the standard execution strategy (chroot -> iso)
2010-04-18 18:42:39 +02:00
Fabio Erculiani 719d68de05 [molecule] implement arguments support for *_chroot_script_* statement.
This commit improves the support to script hooks, making possible to pass
arguments to them via .spec statements (outer_chroot_script, outer_chroot_script_after,
inner_chroot_script, inner_chroot_script_after, pre_iso_script)
2010-04-18 18:26:57 +02:00
Fabio Erculiani 7ad653b316 [molecule] fix extra_rsync_parameters option handling 2010-02-15 11:28:04 +01:00
Fabio Erculiani 40eedd53ae [molecule.specs] add error_script .spec file directive support 2009-12-21 21:55:48 +01:00
Fabio Erculiani b1a46ec852 [molecule.specs.remaster] fix custom_packages_add_cmd and custom_packages_remove_cmd support, thanks to Brian Tomlinson for reporting 2009-12-18 10:25:30 +01:00
Fabio Erculiani 64105dc642 [molecule.specs.plugin.remaster] add inner_chroot_script_after hook, to be executed after packages installation and removal 2009-12-14 10:45:50 +01:00
Fabio Erculiani 400cf1d049 [molecule] implement ISO to TAR handler 2009-11-21 23:44:46 +01:00
Fabio Erculiani 8ba46f7635 [molecule] fix mkisofs title argument 2009-10-27 21:09:26 +01:00
Fabio Erculiani 59f3b9af93 [molecule] improve ability to reimplement Handlers, add setup() method, fixup code accordingly 2009-10-27 16:33:34 +01:00
Fabio Erculiani c7f7d09ba0 [molecule] add support for outer_chroot_script_after (to be executed after inner chroot script) 2009-10-27 16:10:49 +01:00
Fabio Erculiani 12a1d83ac9 [molecule] remaster plugin: do not remove/empty paths before hooks, always kill tmp dir 2009-10-27 10:57:58 +01:00
Fabio Erculiani e6f8062c2a [molecule] remaster plugin: run repo update hook before everything 2009-10-27 10:35:45 +01:00
Fabio Erculiani 14f2ae9dd9 [molecule] remaster plugin: remove 'mod' key from parser data dicts, make possible to split packages_to_add/packages_to_remove using comma 2009-10-27 10:28:45 +01:00
Fabio Erculiani 8731a14818 [molecule] remaster plugin: add support for paths_to_remove and paths_to_empty 2009-10-27 10:22:00 +01:00
Fabio Erculiani 519ea46e3a [molecule] remaster plugin: run chroot hooks before packages handling 2009-10-27 10:16:41 +01:00
Fabio Erculiani 3942828a87 [molecule] add missing module 2009-10-27 06:07:46 +01:00
Fabio Erculiani eb700e5133 [molecule] complete support for easily remastering Sabayon ISO images 2009-10-25 13:57:13 +01:00
Fabio Erculiani f55ec1646b [molecule] move code to plugins, implement fuzzy iso_remaster plugin 2009-10-23 12:45:07 +02:00
Fabio Erculiani 010d2b82e9 [molecule.specs] add missing import 2009-10-23 11:59:46 +02:00
Fabio Erculiani 9bcd860c32 [molecule] add iso_remaster execution_strategy spec file plugin 2009-10-23 11:57:29 +02:00
Fabio Erculiani 9e4112614f [molecule] make Spec* classes pluggable
This will allow the implementation of multiple execution strategies.
For example, a simple ISO remaster (with pkgs add/remove) would be easily
implemented.
2009-10-23 11:41:45 +02:00