summaryrefslogtreecommitdiffstats
path: root/booty
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-03 15:02:02 -0500
committerChris Lumens <clumens@redhat.com>2009-03-04 15:37:05 -0500
commit4745aabcc0e3617aab9d734e7b3b160c1348d1f4 (patch)
tree2f1eee3931941cf9318c18fb2bb7a1257be5ddf8 /booty
parent4b4588cce875b134b8d2c944632f7e2343d62431 (diff)
downloadanaconda-4745aabcc0e3617aab9d734e7b3b160c1348d1f4.tar.gz
anaconda-4745aabcc0e3617aab9d734e7b3b160c1348d1f4.tar.xz
anaconda-4745aabcc0e3617aab9d734e7b3b160c1348d1f4.zip
We're not even using the results of getImages here.
Diffstat (limited to 'booty')
-rw-r--r--booty/s390.py3
-rw-r--r--booty/x86.py3
2 files changed, 1 insertions, 5 deletions
diff --git a/booty/s390.py b/booty/s390.py
index 95ac140a8..5444c5157 100644
--- a/booty/s390.py
+++ b/booty/s390.py
@@ -6,8 +6,6 @@ import iutil
class s390BootloaderInfo(bootloaderInfo):
def getBootloaderConfig(self, instRoot, bl, kernelList,
chainList, defaultDev):
- images = bl.images.getImages()
-
# on upgrade read in the lilo config file
lilo = LiloConfigFile ()
self.perms = 0600
@@ -120,7 +118,6 @@ class s390BootloaderInfo(bootloaderInfo):
def writeZipl(self, instRoot, bl, kernelList, chainList,
defaultDev, justConfigFile):
- images = bl.images.getImages()
rootDev = self.storage.fsset.rootDevice
cf = '/etc/zipl.conf'
diff --git a/booty/x86.py b/booty/x86.py
index 72fcdb9f1..8bb77579f 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -128,8 +128,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
def writeGrub(self, instRoot, bl, kernelList, chainList,
defaultDev, justConfigFile):
-
- images = bl.images.getImages()
+
rootDev = self.storage.fsset.rootDevice
# XXX old config file should be read here for upgrade