summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/partitioning.py b/partitioning.py
index 6fb150769..b3bf35859 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -1003,6 +1003,15 @@ def autoCreatePartitionRequests(autoreq):
return requests
+# returns shorthand (see above) request for the "boot" dir
+# depends on arch
+def getAutopartitionBoot():
+ if iutil.getArch() == "ia64":
+ return ("/boot/efi", "vfat", 100, None, 0, 1)
+ else:
+ return ("/boot", None, 50, None, 0, 1)
+
+
def confirmDeleteRequest(intf, request):
if request.device:
errmsg = _("You are about to delete the /dev/%s partition.\n\nAre you sure?" % request.device)