mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
wic: rewrite MBR disk identifier
Disk identifier created by parted doesn't match the one we generated and used in bootloader config. We need to rewrite it to make our image bootable. Modified involved API and data structures to access previously generated disk identifiers after MBR is initialized. Written disk identifiers to MBR. (From OE-Core rev: 221d3bdd6e0ab8a4d25e2c96bd976cbec4e76681) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5763d8f9cd
commit
12ea11e4f8
@@ -315,7 +315,7 @@ class DirectImageCreator(BaseImageCreator):
|
||||
% (disk_name, full_path, disk['min_size']))
|
||||
disk_obj = DiskImage(full_path, disk['min_size'])
|
||||
self.__disks[disk_name] = disk_obj
|
||||
self.__image.add_disk(disk_name, disk_obj)
|
||||
self.__image.add_disk(disk_name, disk_obj, disk_ids.get(disk_name))
|
||||
|
||||
self.__image.create()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user