From dca63a94d97fb784b88aba24d982020203e90910 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Fri, 26 Jun 2009 13:13:19 +0200 Subject: Do not install grub more times than needed. --- booty/x86.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit