[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Do not install grub more times than needed.



---
 booty/x86.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/booty/x86.py b/booty/x86.py
index 1da7543..d0972c8 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)
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]