Set proper partition size based on the source (#214)

This commit is contained in:
Itxaka
2024-01-30 10:35:10 +01:00
committed by GitHub
parent f6f113128d
commit 3b5ae90dfe
2 changed files with 16 additions and 2 deletions

View File

@@ -545,7 +545,7 @@ func NewUkiInstallSpec(cfg *Config) (*v1.InstallUkiSpec, error) {
// Calculate the partitions afterwards so they use the image sizes for the final partition sizes
spec.Partitions.EFI = &v1.Partition{
FilesystemLabel: constants.EfiLabel,
Size: constants.ImgSize * 2, // TODO: Fix this and set proper size based on the source size
Size: constants.ImgSize * 5, // 15Gb for the EFI partition as default
Name: constants.EfiPartName,
FS: constants.EfiFs,
MountPoint: constants.EfiDir,