Commit Graph

56 Commits

Author SHA1 Message Date
Fabio Erculiani c8ca3c6448 [molecule] image_plugin: fix chroot copy to mounted image file 2011-07-20 23:53:39 +02:00
Fabio Erculiani 4418e0765a [molecule*] beautify output, make molecule.settings contain only utf strings 2010-12-18 16:07:05 +01:00
Fabio Erculiani 01c6023a64 [molecule.specs.plugins] handle improper usage of merge_livecd_root and report to user 2010-12-10 13:56:23 +01:00
Fabio Erculiani fc0cad7754 [molecule] add support for MOLECULE_TMPDIR environment variable (defaulting to /var/tmp), so that user can override it 2010-11-11 19:18:58 +01:00
Fabio Erculiani 5325a75d2e [molecule.specs.plugins] also parse execution_strategy, avoid it getting pulled in in other parameters 2010-10-15 12:27:51 +02:00
Fabio Erculiani d2cb8a7be9 [molecule.specs.plugins] TarHandler: always cleanup chroot temp directory 2010-08-26 21:24:00 +02:00
Fabio Erculiani 42cdf1878a [molecule.specs.plugins.image_plugin] improve loop device removal logic 2010-08-11 11:23:43 +02:00
Fabio Erculiani 3c97a48769 [molecule.specs.plugins] image_plugin: save one function call by calling os.urandom() directly 2010-08-08 23:50:02 +02:00
Fabio Erculiani 30f9208956 [molecule.specs.plugins] introduce iso_to_image plugin.
This plugin allows to build filesystem images (user can define the
filesystem type) off an ISO image.
2010-08-08 23:41:57 +02:00
Fabio Erculiani fb9b3ac849 [molecule.specs.plugins.remaster] warn if something in IsoUnpackHandler.kill() fails 2010-08-08 23:40:00 +02:00
Fabio Erculiani 9909fd87e5 [molecule.specs.plugins] use molecule.utils.mkdtemp() 2010-08-08 18:36:46 +02:00
Fabio Erculiani de98140144 [molecule.specs] make possible to subclass IsoUnpackerHandler easily 2010-08-08 18:32:50 +02:00
Fabio Erculiani f18893b852 [molecule.specs] improve hooks execution reliability, do not taint application environment with hooks specific stuff 2010-08-08 16:11:44 +02:00
Fabio Erculiani 7726993bc1 [molecule.specs.plugins] properly use molecule.utils.exec_chroot_cmd() 2010-08-08 15:45:28 +02:00
Fabio Erculiani ef6b56e077 [molecule.plugins] safely using mkstemp() 2010-08-08 15:21:02 +02:00
Fabio Erculiani c8b646416b [molecule.specs.plugins] always return int from GenericExecutionStep.setup() 2010-08-08 15:09:12 +02:00
Fabio Erculiani e4601724cc [molecule.specs.plugins.tar_plugin] add "pre_tar_script" and "post_tar_script" parameters support (see example) 2010-07-23 11:11:56 +02:00
Fabio Erculiani 9bae550d92 [molecule.specs.builtin_plugin] trivial comment update 2010-07-23 11:11:37 +02:00
Fabio Erculiani fd49d15dd2 [molecule.specs.plugins] BuiltinHandlerMixin._exec_inner_script: rework in-chroot exec files handling 2010-07-23 10:41:03 +02:00
Fabio Erculiani e2da495fb9 [molecule.specs.plugins.tar_plugin] generate .md5 for created tar file 2010-07-21 01:55:46 +02:00
Fabio Erculiani 00ea5c1fcd [molecule.specs.plugins.tar_plugin] add inner_chroot_script_after support 2010-07-21 01:53:01 +02:00
Fabio Erculiani 398818f581 [molecule.specs.plugins.tar_plugin] make "tar_name" parameter working, remove unused "merge_livecd_root" 2010-07-15 16:50:28 +02:00
Fabio Erculiani d75106bdb2 [molecule.plugins] in remaster_plugin, tar_plugin add support for release_version, release_desc, release_string, release_file metadata 2010-07-12 09:51:15 +02:00
Fabio Erculiani d29497819e [Makefile] do not install Makefile to live-system thanks to ssuominen@gentoo.org for reporting 2010-06-29 11:29:53 +02:00
Fabio Erculiani 3fb7e1f40d [molecule] improve Python 3.x support 2010-06-29 10:37:28 +02:00
Fabio Erculiani 7fa07e0c7a Revert "[molecule] builtin_plugin: use shlex when calling mkisofs"
This reverts commit 63515f0f52.
2010-06-17 18:56:04 +02:00
Fabio Erculiani 9737475848 Revert "[molecule.specs.plugins] builtin_plugin: fix shlex usage"
This reverts commit 334b64f8b2.
2010-06-17 18:55:54 +02:00
Fabio Erculiani be2dbfc24e [molecule.specs.plugins] builtin_plugin: fix shlex usage 2010-06-17 18:51:47 +02:00
Fabio Erculiani b69ca784a1 [molecule.plugins] set ISO_PATH and ISO_CHECKSUM_PATH env vars before calling pre_iso_script 2010-06-17 18:18:23 +02:00
Fabio Erculiani ddb0d895a7 [molecule] add post_iso_script hook support 2010-06-05 12:04:23 +02:00
Fabio Erculiani de3adb9ab6 [molecule] builtin_plugin: use shlex when calling mkisofs 2010-06-03 20:42:44 +02:00
Fabio Erculiani 9c0fc43624 [molecule] remaster_plugin: fix directory leaking 2010-05-24 20:26:23 +02:00
Fabio Erculiani 8f9bfd189c [Makefile] fix molecule library install path 2010-05-22 12:07:02 +02:00
Fabio Erculiani 6e222234fc [molecule] implement real Molecule Plugin Factory and use it 2010-05-16 17:33:04 +02:00
Fabio Erculiani 01062c648a [molecule] add Makefiles 2010-05-16 14:46:16 +02:00
Fabio Erculiani c7fa91efe7 [molecule.output] port new code from Entropy (entropy.output) 2010-05-15 22:11:13 +02:00
Fabio Erculiani 778fde7745 [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 6101420343 [molecule.specs.plugins.remaster] fix wrong arguments in _exec_inner_script call 2010-05-09 16:49:49 +02:00
Fabio Erculiani 08ff63e55c [molecule.specs.builtin] fix _run_error_script() 2010-04-22 22:12:42 +02:00
Fabio Erculiani 0a780e6704 [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 81169c5519 [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 f20cd5f40f [molecule] fix extra_rsync_parameters option handling 2010-02-15 11:28:04 +01:00
Fabio Erculiani f005d55e31 [molecule.specs] add error_script .spec file directive support 2009-12-21 21:55:48 +01:00
Fabio Erculiani b7cfd0d088 [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 96ad4bfc80 [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 ac4ae92d97 [molecule] implement ISO to TAR handler 2009-11-21 23:44:46 +01:00
Fabio Erculiani 33ac99f302 [molecule] fix mkisofs title argument 2009-10-27 21:09:26 +01:00
Fabio Erculiani 948d195b9f [molecule] improve ability to reimplement Handlers, add setup() method, fixup code accordingly 2009-10-27 16:33:34 +01:00
Fabio Erculiani da373bd9b4 [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 352f96b2d7 [molecule] remaster plugin: do not remove/empty paths before hooks, always kill tmp dir 2009-10-27 10:57:58 +01:00