summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/imager/direct.py3
-rw-r--r--scripts/lib/wic/utils/partitionedfs.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py
index a1b4249651..1937042e1a 100644
--- a/scripts/lib/wic/imager/direct.py
+++ b/scripts/lib/wic/imager/direct.py
@@ -267,7 +267,8 @@ class DirectImageCreator(BaseImageCreator):
267 align=part.align, 267 align=part.align,
268 no_table=part.no_table, 268 no_table=part.no_table,
269 part_type=part.part_type, 269 part_type=part.part_type,
270 uuid=part.uuid) 270 uuid=part.uuid,
271 system_id=part.system_id)
271 272
272 if fstab_path: 273 if fstab_path:
273 shutil.move(fstab_path + ".orig", fstab_path) 274 shutil.move(fstab_path + ".orig", fstab_path)
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py
index ad596d26f2..9da4a7f2b4 100644
--- a/scripts/lib/wic/utils/partitionedfs.py
+++ b/scripts/lib/wic/utils/partitionedfs.py
@@ -87,7 +87,7 @@ class Image(object):
87 87
88 def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, 88 def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None,
89 label=None, fsopts=None, boot=False, align=None, no_table=False, 89 label=None, fsopts=None, boot=False, align=None, no_table=False,
90 part_type=None, uuid=None): 90 part_type=None, uuid=None, system_id=None):
91 """ Add the next partition. Prtitions have to be added in the 91 """ Add the next partition. Prtitions have to be added in the
92 first-to-last order. """ 92 first-to-last order. """
93 93