Commit 04a51795 authored by segfault's avatar segfault
Browse files

Merge branch 'feature/15292-generate-usb-image'

parents ff5a4033 f63a0faa
......@@ -349,7 +349,10 @@ class ImageCreator(object):
"""Set a fixed filesystem UUID aka. FAT Volume ID / serial number"""
logger.info("Setting filesystem UUID")
with set_env("MTOOLS_SKIP_CHECK", "1"):
execute(["mlabel", "-i", self.partition.props.block.props.device, "-N", "a69020d2"])
execute(["mlabel", "-i", self.partition.props.block.props.device,
"-N", "a69020d2",
# Otherwise mlabel -N will remove the pre-existing label
"::%s" % FILESYSTEM_LABEL])
def execute(cmd: list, as_root=False):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment