Commit Graph

209 Commits

Author SHA1 Message Date
Fabio Erculiani 91cbe7bd6f [molecule.specs] always make sure to kill processes running inside chroots if failing 2011-07-21 13:56:03 +02:00
Fabio Erculiani e227c0a625 [molecule.utils] enhance kill_chroot_pids(), add ability to sleep and wait for scripts to leave "zombies" 2011-07-21 13:55:07 +02:00
Fabio Erculiani f30ffa4fac [molecule.utils] prefer execvp() over subprocess.call() in forked process 2011-07-21 12:59:44 +02:00
Fabio Erculiani e5b1dda68c [molecule.utils] add kill_chroot_pids function, requires lsof (new dependency) 2011-07-21 12:39:41 +02:00
Fabio Erculiani 9e76f03370 Tagging Molecule version 0.9.20.6 0.9.20.6 2011-07-20 23:54:46 +02:00
Fabio Erculiani 50f38369e9 [molecule] image_plugin: fix chroot copy to mounted image file 2011-07-20 23:53:39 +02:00
Fabio Erculiani 5556657a34 Tagging Molecule version 0.9.20.5 0.9.20.5 2010-12-18 16:29:52 +01:00
Fabio Erculiani 110d86bdc3 [molecule.settings] add support for cdrkit 2010-12-18 16:29:31 +01:00
Fabio Erculiani 3a3dace714 Tagging Molecule version 0.9.20.4 0.9.20.4 2010-12-18 16:08:25 +01:00
Fabio Erculiani 426f264213 [molecule*] beautify output, make molecule.settings contain only utf strings 2010-12-18 16:07:05 +01:00
Fabio Erculiani 965b577c51 [tests] fix tests 2010-12-18 16:06:52 +01:00
Fabio Erculiani 9999f2b0f0 [molecule.specs.plugins] handle improper usage of merge_livecd_root and report to user 2010-12-10 13:56:23 +01:00
Fabio Erculiani df9e0af193 [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 dec8adcb24 [examples] add information regarding variables configuration behaviour 2010-10-31 14:23:57 +01:00
Fabio Erculiani bdcca0a4dc Tagging Molecule version 0.9.20.3 0.9.20.3 2010-10-15 12:28:19 +02:00
Fabio Erculiani a7e14b230f [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 4f4ac2eff7 [todo] update TODO 2010-08-31 18:30:56 +02:00
Fabio Erculiani 8939772559 Tagging Molecule version 0.9.20.2 0.9.20.2 2010-08-26 21:24:46 +02:00
Fabio Erculiani 44486776a5 [molecule.specs.plugins] TarHandler: always cleanup chroot temp directory 2010-08-26 21:24:00 +02:00
Fabio Erculiani 1fd8be4963 [tests] fix typo in parsers module 2010-08-13 17:53:15 +02:00
Fabio Erculiani 47ced63721 [tests] add unit tests for .spec parsers 2010-08-13 15:24:22 +02:00
Fabio Erculiani 20e5bb6018 [todo] update TODO 2010-08-12 22:40:29 +02:00
Fabio Erculiani 060b6230d1 [tests] add initial unit tests 2010-08-12 22:40:16 +02:00
Fabio Erculiani 240e79a5c0 [molecule.utils] improve reliability of valid_exec_check and remove_path_sandbox 2010-08-12 22:39:41 +02:00
Fabio Erculiani a394b310c3 Tagging Molecule version 0.9.20.1 0.9.20.1 2010-08-11 11:24:13 +02:00
Fabio Erculiani 439afef721 [molecule.specs.plugins.image_plugin] improve loop device removal logic 2010-08-11 11:23:43 +02:00
Fabio Erculiani 68a890dc40 Tagging Molecule version 0.9.20 0.9.20 2010-08-10 19:07:43 +02:00
Fabio Erculiani 59f241dcaa [molecule.specs.plugins] image_plugin: save one function call by calling os.urandom() directly 2010-08-08 23:50:02 +02:00
Fabio Erculiani 0be6cc56d1 [po] add molecule.pot, it was missing 2010-08-08 23:43:17 +02:00
Fabio Erculiani 88a3a9348f [todo] update TODO 2010-08-08 23:43:02 +02:00
Fabio Erculiani 1a0fdbc247 [po] update translations 2010-08-08 23:42:55 +02:00
Fabio Erculiani 3e918c703c [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 91242f3744 [molecule.specs.plugins.remaster] warn if something in IsoUnpackHandler.kill() fails 2010-08-08 23:40:00 +02:00
Fabio Erculiani dfb187fd82 [molecule.specs.plugins] use molecule.utils.mkdtemp() 2010-08-08 18:36:46 +02:00
Fabio Erculiani e78499849b [molecule.utils] add mkdtemp() 2010-08-08 18:34:54 +02:00
Fabio Erculiani baf978dac3 [molecule.specs] make possible to subclass IsoUnpackerHandler easily 2010-08-08 18:32:50 +02:00
Fabio Erculiani ea2edc7297 [molecule.utils] add get_random_str() 2010-08-08 17:42:04 +02:00
Fabio Erculiani c75dd2f43d [molecule.settings] squashfs and iso images have to be mounted read-only 2010-08-08 17:41:03 +02:00
Fabio Erculiani 8a84fb62d4 [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 0badcb8613 [molecule.utils] improve random numbers generation 2010-08-08 15:54:43 +02:00
Fabio Erculiani 601b9cd752 [molecule.utils] add "env" keyword argument to exec_chroot_cmd and exec_cmd 2010-08-08 15:45:58 +02:00
Fabio Erculiani de15e64288 [molecule.specs.plugins] properly use molecule.utils.exec_chroot_cmd() 2010-08-08 15:45:28 +02:00
Fabio Erculiani c9631810c5 [molecule.examples] update spinbase-openvz-template.common, remove env vars not set for error_script 2010-08-08 15:39:09 +02:00
Fabio Erculiani ce224a517e [molecule.settings] use absolute paths for hard-coded executables 2010-08-08 15:25:36 +02:00
Fabio Erculiani 1ceb5b7be9 [molecule.plugins] safely using mkstemp() 2010-08-08 15:21:02 +02:00
Fabio Erculiani fa3530c7e8 [molecule.utils] add exec_cmd_get_status_output function 2010-08-08 15:09:12 +02:00
Fabio Erculiani 87c475aadd [molecule.specs.plugins] always return int from GenericExecutionStep.setup() 2010-08-08 15:09:12 +02:00
Fabio Erculiani a345bbf581 [molecule] place --nocolor handling before --help, close bug 1685 2010-08-04 23:53:24 +02:00
Fabio Erculiani e67f9e308a [molecule.cmdline] move super user checks into molecule.cmdline 2010-08-02 10:12:35 +02:00
Fabio Erculiani 70b531fee9 [molecule] catch KeyboardInterrupt by running kill phase in while loop 2010-08-02 10:04:22 +02:00