Skip to content

Commit

Permalink
Change the value from 1028 to 1068 to fix a bug with some SSDs
Browse files Browse the repository at this point in the history
  • Loading branch information
fluoriteByte committed Aug 19, 2024
1 parent a5ea065 commit b4001d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vanilla_installer/utils/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def setup_partition(
# - 512 MiB from the init LV
# - 1024 MiB from the metadata LV
# - 1028 MiB from LVM's internals (4 MiB header and 1024 MiB for thin)
thin_size = (values["size"] / 1_048_576) - 1024 - 512 - 1028
thin_size = (values["size"] / 1_048_576) - 1024 - 512 - 1068
setup_steps.append(
[part_disk, "lvcreate", ["root-meta", "vos-root", "linear", 1024]]
)
Expand Down

0 comments on commit b4001d3

Please sign in to comment.