[mount] Ignore empty or unformatted filesystems

This commit is contained in:
Gaël PORTAY 2020-10-31 07:19:53 -04:00
parent c6feedf923
commit 163351a803

View File

@ -56,6 +56,8 @@ def mount_partition(root_mount_point, partition, partitions):
raise
fstype = partition.get("fs", "").lower()
if not fstype or fstype == "unformatted":
return
if fstype == "fat16" or fstype == "fat32":
fstype = "vfat"