summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/installclass.py b/installclass.py
index 46abbf707..dbcd019b3 100644
--- a/installclass.py
+++ b/installclass.py
@@ -20,7 +20,7 @@ import language
from instdata import InstallData
from partitioning import *
-from autopart import getAutopartitionBoot, autoCreatePartitionRequests
+from autopart import getAutopartitionBoot, autoCreatePartitionRequests, autoCreateLVMPartitionRequests
from rhpl.log import log
from rhpl.translate import _, N_
@@ -512,19 +512,19 @@ class BaseInstallClass:
def setDefaultPartitioning(self, partitions, clear = CLEARPART_TYPE_LINUX,
doClear = 1):
- autorequests = [ ("/", None, 1024, None, 1, 1) ]
+ autorequests = [ ("/", None, 1024, None, 1, 1, 1) ]
bootreq = getAutopartitionBoot()
if bootreq:
autorequests.extend(bootreq)
(minswap, maxswap) = iutil.swapSuggestion()
- autorequests.append((None, "swap", minswap, maxswap, 1, 1))
+ autorequests.append((None, "swap", minswap, maxswap, 1, 1, 1))
if doClear:
partitions.autoClearPartType = clear
partitions.autoClearPartDrives = []
- partitions.autoPartitionRequests = autoCreatePartitionRequests(autorequests)
+ partitions.autoPartitionRequests = autoCreateLVMPartitionRequests(autorequests)
def setInstallData(self, id, intf = None):