#995091 d-i: partman-efi allows method "efi" on wrong device types

Package:
partman-efi
Source:
partman-efi
Submitter:
Pascal Hambourg
Date:
2021-09-25 23:51:04 UTC
Severity:
normal
Tags:
#995091#5
Date:
2021-09-25 23:41:47 UTC
From:
To:
Hello d-i team,

Partman allows to use any type of device as "EFI System Partition": not
only regular partition but also LVM logical volume, encrypted device,
RAID array... It should be allowed only on partitions which actually
support an "EFI System Partition" type.

The attached patch enables method "efi" only if flag "esp" is valid for
the partition. I hope the patch has the proper format.