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 17:18:50 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 17:18:50 +0100
commiteb318c24db4f76395c8872ed33af2e68f2124bb1 (patch)
treeffc1e2c2c6688ed9041643f792e20a67df57052c
parent997baca5fcc39a12e56d01bffb6ac6e970e8d855 (diff)
Parameter missmatch on name
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index b34632f0..df63a08f 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -598,7 +598,7 @@ def format_disk(drive=None, start='512MiB', end='100%', emulate=False, *args, **
o = b''.join(sys_command(f'/usr/bin/parted -s {drive} name 1 "EFI"', emulate=emulate))
o = b''.join(sys_command(f'/usr/bin/parted -s {drive} set 1 esp on', emulate=emulate))
o = b''.join(sys_command(f'/usr/bin/parted -s {drive} set 1 boot on', emulate=emulate))
- o = b''.join(sys_command(f'/usr/bin/parted -s {drive} mkpart primary {start} {size}', emulate=emulate))
+ o = b''.join(sys_command(f'/usr/bin/parted -s {drive} mkpart primary {start} {end}', emulate=emulate))
# 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