From eefa691b4c0560fb7d77c7d3a6473968628706f7 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 6 Aug 2007 19:18:59 +0000 Subject: 2007-08-06 Jeremy Katz * 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. --- backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend.py') 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): -- cgit