Include vfat in the list of possible BDP partition types

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2119436
This commit is contained in:
Richard Hughes 2022-08-23 20:23:36 +01:00
parent 2045578d20
commit c886fb8f71

View File

@ -146,11 +146,11 @@ fu_common_convert_to_gpt_type(const gchar *type)
{
struct {
const gchar *gpt;
const gchar *mbrs[4];
const gchar *mbrs[6];
} typeguids[] = {{"c12a7328-f81f-11d2-ba4b-00a0c93ec93b", /* esp */
{"0xef", "efi", NULL}},
{"ebd0a0a2-b9e5-4433-87c0-68b6b72699c7", /* fat32 */
{"0x0b", "fat32", "fat32lba", NULL}},
{"0x0b", "0x06", "vfat", "fat32", "fat32lba", NULL}},
{NULL, {NULL}}};
for (guint i = 0; typeguids[i].gpt != NULL; i++) {
for (guint j = 0; typeguids[i].mbrs[j] != NULL; j++) {