diff --git a/diskimage_builder/block_device/level2/mkfs.py b/diskimage_builder/block_device/level2/mkfs.py index 4091d31f..41f458d4 100644 --- a/diskimage_builder/block_device/level2/mkfs.py +++ b/diskimage_builder/block_device/level2/mkfs.py @@ -110,7 +110,7 @@ class FilesystemNode(NodeBase): if self.opts: cmd.extend(self.opts) - if self.type == "vfat": + if self.type in ('vfat', 'fat'): cmd.extend(["-n", self.label]) else: cmd.extend(["-L", self.label])