[master/f20/rhel7 2/2] Add bootloader execute before autopart (#1022418)

Brian C. Lane bcl at redhat.com
Wed Oct 23 22:57:41 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

Autopart needs to have the bootloader setup first.

It is also called again in setUpBootLoader, which picks up changes
introduced by the autopart in the case of raw disks and custom autopart
(eg. rhbz#1013482)

Resolves: rhbz#1022418
---
 pyanaconda/kickstart.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index b206231..43f8073 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1714,6 +1714,7 @@ def doKickstartStorage(storage, ksdata, instClass):
     if not any(d for d in storage.disks
                if not d.format.hidden and not d.protected):
         return
+    ksdata.bootloader.execute(storage, ksdata, instClass)
     ksdata.autopart.execute(storage, ksdata, instClass)
     ksdata.partition.execute(storage, ksdata, instClass)
     ksdata.raid.execute(storage, ksdata, instClass)
-- 
1.8.3.1



More information about the anaconda-patches mailing list