Commit 5b8352bc authored by intrigeri's avatar intrigeri
Browse files

Add missing logging.

parent c38b71f1
......@@ -328,11 +328,13 @@ class ImageCreator(object):
os.utime(os.path.join(root, file), (0, 0))
def set_guids(self):
logger.info("Setting disk and partition GUID")
execute(["/sbin/sgdisk", "--disk-guid", "17B81DA0-8B1E-4269-9C39-FE5C7B9B58A3",
"--partition-guid", "1:34BF027A-8001-4B93-8243-1F9D3DCE7DE7", self.image])
def set_fsuuid(self):
"""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"])
......
Markdown is supported
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