Package: partman-efi
Version: 27
With commit "EFI development work, merging code from Ubuntu" [1],
partman-efi does not format an EFI system partition (ESP) if any
filesystem is detected, in order to preserve existing ESP contents. Not
only FAT but also any other filesystem type and even Linux swap. However
the generated filesystem field in fstab is always set to "vfat"
regardless of the detected filesystem.
[1]
<https://salsa.debian.org/installer-team/partman-efi/-/commit/8cc1fddaead36f9d419f56cb46dd2c2d359e63f1>
This has a couple of issues:
- If the filesystem is not FAT, the generated fstab will fail to mount
the ESP.
- UEFI firmware may not support non-FAT filesystems.
What should partman do if the detected filesystem is not FAT ?
- Set the filesystem field in fstab accordingly ?
- Format the ESP (as FAT) ?
- Warn and prompt the user for what to do ?
- Other ?