diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-11-03 11:05:42 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-11-03 11:06:56 -0500 |
commit | f686a94f7d8e52d4e4222162fb54aa93dc7af2d1 (patch) | |
tree | accafeafb2fdec2ee5349c114ce18d158a073792 /backend.py | |
parent | cd1a52006becac3155bfa409deb75b9e40f9d7b1 (diff) | |
download | anaconda-f686a94f7d8e52d4e4222162fb54aa93dc7af2d1.tar.gz anaconda-f686a94f7d8e52d4e4222162fb54aa93dc7af2d1.tar.xz anaconda-f686a94f7d8e52d4e4222162fb54aa93dc7af2d1.zip |
Add a basic method for checking the minimal size needed for a backend
Add a basic way to query a backend for how much space is needed on a
per-partition basis. This isn't always able to be known and if it's
unknown, then you'll get back 0. Add the implementation for / on
livecd
Diffstat (limited to 'backend.py')
-rw-r--r-- | backend.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.py b/backend.py index ad0285eed..300867146 100644 --- a/backend.py +++ b/backend.py @@ -188,6 +188,10 @@ class AnacondaBackend: def kernelVersionList(self, rootPath="/"): return [] + def getMinimumSizeMB(self, part): + """Return the minimal size for part in megabytes if we can.""" + return 0 + def doBackendSetup(self, anaconda): log.warning("doBackendSetup not implemented for backend!") raise NotImplementedError |