Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/interactions/disk_conf.py
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2024-03-08 05:24:35 -0500
committerGitHub <noreply@github.com>2024-03-08 11:24:35 +0100
commitfef9269d38335908199e4b94cb3e0252dc504d9c (patch)
tree09c548ca93a0f4866ff87ff8e706e260a278d3dc /archinstall/lib/interactions/disk_conf.py
parentc3c175047e7feebddba6a68834aa33f6cdecb3c9 (diff)
Fix home partition start and length (#2391)
Diffstat (limited to 'archinstall/lib/interactions/disk_conf.py')
-rw-r--r--archinstall/lib/interactions/disk_conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/interactions/disk_conf.py b/archinstall/lib/interactions/disk_conf.py
index bbd8957d..b8c6adad 100644
--- a/archinstall/lib/interactions/disk_conf.py
+++ b/archinstall/lib/interactions/disk_conf.py
@@ -310,8 +310,8 @@ def suggest_single_disk_layout(
# If we don't want to use subvolumes,
# But we want to be able to reuse data between re-installs..
# A second partition for /home would be nice if we have the space for it
- home_start = root_partition.length
- home_length = device.device_info.total_size - root_partition.length
+ home_start = root_partition.start + root_partition.length
+ home_length = device.device_info.total_size - home_start
if using_gpt:
home_length -= align_buffer