mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
wic: add system_id argument to Image.add_partition
Added new argument to add_partition call to pass partition system id down the stack. [YOCTO #9096] (From OE-Core rev: f2733df697192c0010c17b7bbb02f8679cb8f313) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8d747c8b43
commit
514a87877e
@@ -267,7 +267,8 @@ class DirectImageCreator(BaseImageCreator):
|
||||
align=part.align,
|
||||
no_table=part.no_table,
|
||||
part_type=part.part_type,
|
||||
uuid=part.uuid)
|
||||
uuid=part.uuid,
|
||||
system_id=part.system_id)
|
||||
|
||||
if fstab_path:
|
||||
shutil.move(fstab_path + ".orig", fstab_path)
|
||||
|
||||
@@ -87,7 +87,7 @@ class Image(object):
|
||||
|
||||
def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None,
|
||||
label=None, fsopts=None, boot=False, align=None, no_table=False,
|
||||
part_type=None, uuid=None):
|
||||
part_type=None, uuid=None, system_id=None):
|
||||
""" Add the next partition. Prtitions have to be added in the
|
||||
first-to-last order. """
|
||||
|
||||
|
||||
Reference in New Issue
Block a user