diff options
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index 902548fbf8..a6e2e4f233 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py | |||
@@ -86,7 +86,7 @@ class Image(object): | |||
86 | 86 | ||
87 | def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, | 87 | def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, |
88 | label=None, fsopts=None, boot=False, align=None, no_table=False, | 88 | label=None, fsopts=None, boot=False, align=None, no_table=False, |
89 | part_type=None): | 89 | part_type=None, uuid=None): |
90 | """ Add the next partition. Prtitions have to be added in the | 90 | """ Add the next partition. Prtitions have to be added in the |
91 | first-to-last order. """ | 91 | first-to-last order. """ |
92 | 92 | ||
@@ -110,7 +110,8 @@ class Image(object): | |||
110 | 'boot': boot, # Bootable flag | 110 | 'boot': boot, # Bootable flag |
111 | 'align': align, # Partition alignment | 111 | 'align': align, # Partition alignment |
112 | 'no_table' : no_table, # Partition does not appear in partition table | 112 | 'no_table' : no_table, # Partition does not appear in partition table |
113 | 'part_type' : part_type} # Partition type | 113 | 'part_type' : part_type, # Partition type |
114 | 'uuid': uuid} # Partition UUID | ||
114 | 115 | ||
115 | self.__add_partition(part) | 116 | self.__add_partition(part) |
116 | 117 | ||