[PATCH 2/4] Don't manipulate partition boot flags except in installer mode.

David Lehman dlehman at redhat.com
Tue Jul 30 16:47:26 UTC 2013


---
 blivet/__init__.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/blivet/__init__.py b/blivet/__init__.py
index f27ccbb..8045063 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -308,6 +308,9 @@ class Blivet(object):
 
     def doIt(self):
         self.devicetree.processActions()
+        if not flags.installer_mode:
+            return
+
         self.doEncryptionPassphraseRetrofits()
 
         # now set the boot partition's flag
-- 
1.8.1.4



More information about the anaconda-patches mailing list