From: Andreas Reichel <[email protected]>

From: Andreas Reichel <[email protected]>

Allow FAT12, FAT16 and FAT32 for environment data.
---
 tools/bg_utils.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/bg_utils.c b/tools/bg_utils.c
index d042fc9..026abb9 100644
--- a/tools/bg_utils.c
+++ b/tools/bg_utils.c
@@ -227,7 +227,9 @@ bool probe_config_partitions(CONFIG_PART *cfgpart)
                PedPartition *part = pd->part_list;
                while (part) {
                        if (!part->fs_type || !part->fs_type->name ||
-                           strcmp(part->fs_type->name, "fat12") != 0) {
+                           (strcmp(part->fs_type->name, "fat12") != 0 &&
+                            strcmp(part->fs_type->name, "fat16") != 0 &&
+                            strcmp(part->fs_type->name, "fat32") != 0)) {
                                part = ped_disk_next_partition(pd, part);
                                continue;
                        }
-- 
2.13.3

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20170721131739.21423-4-andreas.reichel.ext%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to