Skip to content

Commit

Permalink
Make disk size logic the same for buildDisk and buildReleaseDisk
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyf committed Jan 6, 2025
1 parent 6f17ebc commit 9aeb2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/disk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let

bootPartSizeMiB = computeImageSizeMiB rescueSystem;
systemPartSizeMiB = computeImageSizeMiB systemImage;
diskSizeMiB = 10 + bootPartSizeMiB + dataPartSizeMiB + systemPartSizeMiB*2;
diskSizeMiB = 8 + bootPartSizeMiB + dataPartSizeMiB + systemPartSizeMiB*2 + 1;
in vmTools.runInLinuxVM (
runCommand "build-playos-disk"
{
Expand Down

0 comments on commit 9aeb2c5

Please sign in to comment.