summaryrefslogtreecommitdiffstats
path: root/backend.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-08-06 19:18:59 +0000
committerJeremy Katz <katzj@redhat.com>2007-08-06 19:18:59 +0000
commiteefa691b4c0560fb7d77c7d3a6473968628706f7 (patch)
tree6413378ce8f0065437d788d7d23467261934dc69 /backend.py
parent59042ba16f15f118305c969b1804b6a13a7dffca (diff)
downloadanaconda-eefa691b4c0560fb7d77c7d3a6473968628706f7.tar.gz
anaconda-eefa691b4c0560fb7d77c7d3a6473968628706f7.tar.xz
anaconda-eefa691b4c0560fb7d77c7d3a6473968628706f7.zip
2007-08-06 Jeremy Katz <katzj@redhat.com>
* livecd.py (LiveCDCopyBackend.kernelVersionList): Check the rpmdb of the installed root (based on feedback from Jerry Vonau) * backend.py (AnacondaBackend.kernelVersionList): Take the rootPath as an argument * yuminstall.py (YumBackend.kernelVersionList): Likewise.
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend.py b/backend.py
index 7070dadad..6bd5593bf 100644
--- a/backend.py
+++ b/backend.py
@@ -72,7 +72,7 @@ class AnacondaBackend:
if anaconda.id.extraModules:
self.copyFirmware(anaconda)
- for (n, arch, tag) in self.kernelVersionList():
+ for (n, arch, tag) in self.kernelVersionList(anaconda.rootPath):
packages.recreateInitrd(n, anaconda.rootPath)
sys.stdout.flush()
@@ -118,7 +118,7 @@ class AnacondaBackend:
else:
self.modeText = _("Installing %s\n")
- def kernelVersionList(self):
+ def kernelVersionList(self, rootPath="/"):
return []
def doInitialSetup(self, anaconda):