[PATCH] Fix incorrect attribute name use for retrofit flag.

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

 



This fixes a traceback during upgrade mount.
---
 storage/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 6f063d4..9a1999e 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -130,7 +130,7 @@ def storageComplete(anaconda):
             (passphrase, retrofit) = anaconda.intf.getLuksPassphrase(preexist=existing_luks)
             if passphrase:
                 anaconda.id.storage.encryptionPassphrase = passphrase
-                anaconda.id.storage.retrofitPassphrase = retrofit
+                anaconda.id.storage.encryptionRetrofit = retrofit
                 for dev in anaconda.id.storage.devices:
                     if dev.format.type == "luks" and not dev.format.exists:
                         dev.format.passphrase = passphrase
@@ -761,7 +761,7 @@ class Storage(object):
             in the system so that users only have to enter one passphrase
             during system boot.
         """
-        if not self.retrofitPassphrase:
+        if not self.encryptionRetrofit:
             return
 
         for device in self.devices:
-- 
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