diff options
author | Chris Lumens <clumens@redhat.com> | 2009-03-03 14:38:39 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-04 15:37:05 -0500 |
commit | 4b4588cce875b134b8d2c944632f7e2343d62431 (patch) | |
tree | 16a21e10b6d0c0ecfd0243f14953d02c9ed45cc5 /booty/x86.py | |
parent | 6866ce610d95fdccbe214ccac3c90d68eeb71494 (diff) | |
download | anaconda-4b4588cce875b134b8d2c944632f7e2343d62431.tar.gz anaconda-4b4588cce875b134b8d2c944632f7e2343d62431.tar.xz anaconda-4b4588cce875b134b8d2c944632f7e2343d62431.zip |
Use anaconda's provided rootDevice instead of performing another lookup.
Diffstat (limited to 'booty/x86.py')
-rw-r--r-- | booty/x86.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/booty/x86.py b/booty/x86.py index d14cbc223..72fcdb9f1 100644 --- a/booty/x86.py +++ b/booty/x86.py @@ -130,7 +130,7 @@ class x86BootloaderInfo(efiBootloaderInfo): defaultDev, justConfigFile): images = bl.images.getImages() - rootDev = self.storage.fsset.mountpoints["/"] + rootDev = self.storage.fsset.rootDevice # XXX old config file should be read here for upgrade @@ -169,7 +169,7 @@ class x86BootloaderInfo(efiBootloaderInfo): f.write("# all kernel and initrd paths are relative " "to /boot/, eg.\n") except KeyError: - bootDev = self.storage.fsset.mountpoints["/"] + bootDev = self.storage.fsset.rootDevice grubPath = "/boot/grub" cfPath = "/boot/" f.write("# NOTICE: You do not have a /boot partition. " @@ -458,7 +458,7 @@ class x86BootloaderInfo(efiBootloaderInfo): grubPath = "/grub" cfPath = "/" except KeyError: - bootDev = self.storage.fsset.mountpoints["/"] + bootDev = self.storage.fsset.rootDevice grubPath = "/boot/grub" cfPath = "/boot/" |