summaryrefslogtreecommitdiffstats
path: root/booty
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-06-26 13:13:19 +0200
committerRadek Vykydal <rvykydal@redhat.com>2009-06-30 13:08:04 +0200
commitdca63a94d97fb784b88aba24d982020203e90910 (patch)
treee5839432b804d4e6157451e07ea85963ac6cee6e /booty
parentc329ea2f4d4aeb058e78bcc73e9cff90a130a193 (diff)
downloadanaconda-dca63a94d97fb784b88aba24d982020203e90910.tar.gz
anaconda-dca63a94d97fb784b88aba24d982020203e90910.tar.xz
anaconda-dca63a94d97fb784b88aba24d982020203e90910.zip
Do not install grub more times than needed.
Diffstat (limited to 'booty')
-rw-r--r--booty/x86.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/booty/x86.py b/booty/x86.py
index 1da75439f..d0972c825 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -111,8 +111,8 @@ class x86BootloaderInfo(efiBootloaderInfo):
args = "--stage2=/boot/grub/stage2 "
- cmds = []
for bootDev in bootDevs:
+ cmds = []
gtPart = self.getMatchingPart(bootDev, grubTarget)
gtDisk = self.grubbyPartitionName(getDiskPart(gtPart, self.storage)[0])
bPart = self.grubbyPartitionName(bootDev)