[PATCH 11/16] format.setup in blivet takes only kwargs.

Radek Vykydal rvykydal at redhat.com
Mon Jul 14 11:15:45 UTC 2014


From: Chris Lumens <clumens at redhat.com>

Resolves: rhbz#1113535
Port of rpmostreepayload patches from master
commit 6d682319baff79fad351688c45ae06f69c1315c5
---
 pyanaconda/install.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/install.py b/pyanaconda/install.py
index d771f5b..959878b 100644
--- a/pyanaconda/install.py
+++ b/pyanaconda/install.py
@@ -116,7 +116,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
@@ -198,7 +198,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