[PATCH] format.setup in blivet now takes only kwargs.

Chris Lumens clumens at redhat.com
Thu Jun 5 17:13:32 UTC 2014


This is caused by 0e4f67338dfbdd665e7c9aeb220272dcad19b166 in python-blivet.
---
 pyanaconda/install.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/install.py b/pyanaconda/install.py
index 2bdbbd1..d9303cd 100644
--- a/pyanaconda/install.py
+++ b/pyanaconda/install.py
@@ -126,7 +126,7 @@ def moveBootMntToPhysical(storage):
         return
     bootmnt.format.teardown()
     bootmnt.teardown()
-    bootmnt.format.setup(bootmnt.format.options, chroot=iutil.getTargetPhysicalRoot())
+    bootmnt.format.setup(options=bootmnt.format.options, chroot=iutil.getTargetPhysicalRoot())
 
 def doInstall(storage, payload, ksdata, instClass):
     """Perform an installation.  This method takes the ksdata as prepared by
@@ -217,7 +217,7 @@ def doInstall(storage, payload, ksdata, instClass):
             # Explicitly mount the root on the physical sysroot
             rootmnt = storage.mountpoints.get('/')
             rootmnt.setup()
-            rootmnt.format.setup(rootmnt.format.options, chroot=iutil.getTargetPhysicalRoot())
+            rootmnt.format.setup(options=rootmnt.format.options, chroot=iutil.getTargetPhysicalRoot())
 
             payload.prepareMountTargets(storage)
 
-- 
1.9.0



More information about the anaconda-patches mailing list