[rhel7/blivet 2/2] check for skipping bootloader in doIt

Brian C. Lane bcl at redhat.com
Fri Feb 1 19:52:52 UTC 2013


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

Skipping bootloader install should also skip setting partition flags.
---
 pyanaconda/storage/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index e537500..79f7bca 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -324,7 +324,7 @@ class Storage(object):
         self.doEncryptionPassphraseRetrofits()
 
         # now set the boot partition's flag
-        if self.bootloader:
+        if self.bootloader and not self.bootloader.skip_bootloader:
             if self.bootloader.stage2_bootable:
                 boot = self.bootDevice
             else:
-- 
1.8.0.2



More information about the anaconda-patches mailing list