Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 20:09:57 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 20:09:57 +0000
commitc2a2e1e5d07e4c2582c3063a57cd52e46a61edd7 (patch)
treee8d19127d91c7855675d5cffd018e44ebb25c0cf
parentda36b4f4e108369c91d8eb8ec1a7d26468c20010 (diff)
Added success return on format of disks
-rw-r--r--archinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index d9d5556f..bddf8de4 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -607,10 +607,12 @@ def format_disk(drive=None, start='512MiB', end='100%', emulate=False, *args, **
return None
if sys_command(f'/usr/bin/parted -s {drive} mkpart primary {start} {end}', emulate=emulate).exit_code != 0:
return None
+
# TODO: grab paritions after each parted/partition step instead of guessing which partiton is which later on.
# Create one, grab partitions - dub that to "boot" or something. do the next partition, grab that and dub it "system".. or something..
# This "assumption" has bit me in the ass so many times now I've stoped counting.. Jerker is right.. Don't do it like this :P
+ return True
def multisplit(s, splitters):
s = [s,]