From 7232e74bcce265545501256e18d9783ab0955f2c Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Tue, 30 Jun 2015 20:04:41 -0700 Subject: [PATCH] disk_util: use the dummy disk UUID This dummy UUID (00000000-0000-0000-0000-000000000001) is used to signify to Ignition that the disk is uninitialized. --- build_library/disk_util | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_library/disk_util b/build_library/disk_util index 3ab9d1ab87..91cbf58cb9 100755 --- a/build_library/disk_util +++ b/build_library/disk_util @@ -269,7 +269,8 @@ def WritePartitionTable(options, config=None, partitions=None): config, partitions = LoadPartitionConfig(options) if options.create: - Cgpt('create', '-c', '-s', config['metadata']['blocks'], options.disk_image) + Cgpt('create', '-c', '-s', config['metadata']['blocks'], + '-g', '00000000-0000-0000-0000-000000000001', options.disk_image) else: # If we are not creating a fresh image all partitions must be compatible. GetPartitionTableFromImage(options, config, partitions)