Fix home partition start and length (#2391)

This commit is contained in:
codefiles 2024-03-08 05:24:35 -05:00 committed by GitHub
parent c3c175047e
commit fef9269d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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