summaryrefslogtreecommitdiffstats
path: root/py/mock/plugins/tmpfs.py
Commit message (Collapse)AuthorAgeFilesLines
* patch that allows specifying max tmpfs size to tmpfs pluginKalev Lember2010-07-301-2/+7
| | | | | | | Add a 'max_fs_size' parameter to the tmpfs plugin that allows specification of sizes greater than default (50% of RAM). Signed-off-by: Clark Williams <williams@redhat.com>
* convert mock.util.do() to use subprocess.Popen() rather than raw ↵Michael E Brown2008-01-201-4/+5
| | | | fork/exec.\nThis cleans up the code considerably. Also, start reducing the places where we use a shell in the subcommand.
* cleanup trailing whitespace.Michael E Brown2008-01-081-3/+3
|
* add ability to conditionally enable tmpfs based on minimum ram availability.Michael E Brown2008-01-081-1/+10
|
* add initfailed hook so tmpfs plugin can properly unmount tmpfs on failure. ↵Michael E Brown2008-01-081-0/+2
| | | | make sure we call postbuild hooks even on failure.
* unmount tmpfs when done or we run into problems with clean.Michael E Brown2007-12-181-0/+7
|
* fixup typo: makeChrootPath is a method on self.rootObj.Michael E Brown2007-12-181-1/+2
|
* add initial tmpfs plugin and default options.Michael E Brown2007-12-181-0/+33