Commit 3bd14471 authored by segfault's avatar segfault Committed by intrigeri
Browse files

Also set a fixed FAT volume ID (refs: #15985)

parent efb5e912
......@@ -321,6 +321,13 @@ class ImageCreator(object):
def set_guids(self):
execute(["/sbin/sgdisk", "--disk-guid", "17B81DA0-8B1E-4269-9C39-FE5C7B9B58A3",
"--partition-guid", "1:34BF027A-8001-4B93-8243-1F9D3DCE7DE7", self.image])
with open(self.partition.props.block.props.device, "wb+") as vbr:
# Set fixed Volume ID in the FAT boot sector
# Set fixed volume ID in the FAT backup boot sector
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