diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-21 13:24:43 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 15:07:55 -0500 |
commit | 6db11661989a865a0cf59ca2be37208b498f2b71 (patch) | |
tree | 3d2bad7cdc9afed650da90c2c9c55138c3142f8e /anaconda | |
parent | 738b76a60481881365db518cbeee7bdb677d97de (diff) | |
download | anaconda-6db11661989a865a0cf59ca2be37208b498f2b71.tar.gz anaconda-6db11661989a865a0cf59ca2be37208b498f2b71.tar.xz anaconda-6db11661989a865a0cf59ca2be37208b498f2b71.zip |
Move bootloader into the Anaconda object.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -439,6 +439,7 @@ def startDebugger(signum, frame): class Anaconda(object): def __init__(self): self._backend = None + self._bootloader = None self.canReIPL = False self.desktop = desktop.Desktop() self.dir = None @@ -486,6 +487,14 @@ class Anaconda(object): return self._backend @property + def bootloader(self): + if not self._bootloader: + import booty + self._bootloader = booty.getBootloader(self) + + return self._bootloader + + @property def instClass(self): if not self._instClass: from installclass import DefaultInstall @@ -732,6 +741,7 @@ class Anaconda(object): self.firewall.writeKS(f) self.storage.writeKS(f) + self.bootloader.writeKS(f) # XXX: This is temporary until instdata goes away completely. self.id.writeKS(f) |