diff options
Diffstat (limited to 'scripts/lib/wic/partition.py')
-rw-r--r-- | scripts/lib/wic/partition.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 9bb1a0ab9a..55bcfbad40 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -57,7 +57,10 @@ class Partition(object): | |||
57 | self.size = args.size | 57 | self.size = args.size |
58 | self.source = args.source | 58 | self.source = args.source |
59 | self.sourceparams = args.sourceparams | 59 | self.sourceparams = args.sourceparams |
60 | self.use_uuid = args.use_uuid | ||
60 | self.uuid = args.uuid | 61 | self.uuid = args.uuid |
62 | if args.use_uuid and not self.uuid: | ||
63 | self.uuid = str(uuid.uuid4()) | ||
61 | 64 | ||
62 | self.lineno = lineno | 65 | self.lineno = lineno |
63 | self.source_file = "" | 66 | self.source_file = "" |