[mount] Ignore empty or unformatted filesystems
This commit is contained in:
parent
c6feedf923
commit
163351a803
@ -56,6 +56,8 @@ def mount_partition(root_mount_point, partition, partitions):
|
|||||||
raise
|
raise
|
||||||
|
|
||||||
fstype = partition.get("fs", "").lower()
|
fstype = partition.get("fs", "").lower()
|
||||||
|
if not fstype or fstype == "unformatted":
|
||||||
|
return
|
||||||
|
|
||||||
if fstype == "fat16" or fstype == "fat32":
|
if fstype == "fat16" or fstype == "fat32":
|
||||||
fstype = "vfat"
|
fstype = "vfat"
|
||||||
|
Loading…
Reference in New Issue
Block a user