From c886fb8f718ce0cba448c0783bff83a400912a8e Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 23 Aug 2022 20:23:36 +0100 Subject: [PATCH] Include vfat in the list of possible BDP partition types Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2119436 --- libfwupdplugin/fu-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfwupdplugin/fu-common.c b/libfwupdplugin/fu-common.c index 4e31f6a95..ec4ddb7be 100644 --- a/libfwupdplugin/fu-common.c +++ b/libfwupdplugin/fu-common.c @@ -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++) {