summaryrefslogtreecommitdiffstats
path: root/pyanaconda/backend.py
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2011-08-22 12:33:26 +0200
committerAles Kozumplik <akozumpl@redhat.com>2011-08-26 10:26:55 +0200
commit3e8d08cac6aa89f001c5b32dba251a62a45ed7f4 (patch)
tree43e95ebdc7db0d14c92c58d6c74df4f534866300 /pyanaconda/backend.py
parent0c662ebeaf4043ff2e2a1f7d09b527f4bf243047 (diff)
downloadanaconda-3e8d08cac6aa89f001c5b32dba251a62a45ed7f4.tar.gz
anaconda-3e8d08cac6aa89f001c5b32dba251a62a45ed7f4.tar.xz
anaconda-3e8d08cac6aa89f001c5b32dba251a62a45ed7f4.zip
Remove unnecessary ROOT_PATH constant passing.
This is a hefty and tedious change.
Diffstat (limited to 'pyanaconda/backend.py')
-rw-r--r--pyanaconda/backend.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyanaconda/backend.py b/pyanaconda/backend.py
index cd630bdf5..8c15f0b7d 100644
--- a/pyanaconda/backend.py
+++ b/pyanaconda/backend.py
@@ -68,7 +68,7 @@ class AnacondaBackend:
def doPreInstall(self, anaconda):
self.initLog(ROOT_PATH)
- def copyFirmware(self, anaconda):
+ def copyFirmware(self):
# Multiple driver disks may be loaded, so we need to glob for all
# the firmware files in the common DD firmware directory
for f in glob.glob(DD_FIRMWARE+"/*"):
@@ -79,10 +79,10 @@ class AnacondaBackend:
def doPostInstall(self, anaconda):
#always copy the firmware files from DD
- self.copyFirmware(anaconda)
+ self.copyFirmware()
if anaconda.extraModules:
- for (n, arch, tag) in self.kernelVersionList(ROOT_PATH):
+ for (n, arch, tag) in self.kernelVersionList():
packages.recreateInitrd(n, ROOT_PATH)
#copy RPMS
@@ -133,7 +133,7 @@ class AnacondaBackend:
else:
self.modeText = _("%s Installing %s\n")
- def kernelVersionList(self, rootPath="/"):
+ def kernelVersionList(self):
return []
def getMinimumSizeMB(self, part):