diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index cafb9338df..8d93a68e3a 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py | |||
@@ -299,7 +299,7 @@ class Image(): | |||
299 | (part['num'], part['part_type'], | 299 | (part['num'], part['part_type'], |
300 | disk['disk'].device), self.native_sysroot) | 300 | disk['disk'].device), self.native_sysroot) |
301 | 301 | ||
302 | if part['uuid']: | 302 | if part['uuid'] and disk['ptable_format'] == "gpt": |
303 | msger.debug("partition %d: set UUID to %s" % \ | 303 | msger.debug("partition %d: set UUID to %s" % \ |
304 | (part['num'], part['uuid'])) | 304 | (part['num'], part['uuid'])) |
305 | exec_native_cmd("sgdisk --partition-guid=%d:%s %s" % \ | 305 | exec_native_cmd("sgdisk --partition-guid=%d:%s %s" % \ |