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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux