poky/scripts/lib/wic
Steffen Greber 213d298940 wic: add option to specify the diskid
This adds a feature to specify the disk ID when creating a disk with
the wic tool. This is useful when using the DOS partition scheme and
booting with root=PARTUUID=<partuuid>. In DOS partitions, the partition
ID is <diskid>-<partition-number>, so it makes sense to let the user
define the disk ID.

You can specify it in the kickstart file using the --diskid argument
to the bootloader command. The value can be given in decimal or
hexadecimal format (e.g. 3735928559 or 0xdeadbeef). If omitted, the
previous behaviour does not change.

(From OE-Core rev: a31453fd52e0a52f3fa02cb9ae0878ea3782c2b7)

Signed-off-by: Steffen Greber <sgreber@lilafast.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
..
canned-wks wic: Update after plugin name changes 2025-06-16 17:57:30 +01:00
plugins wic: add option to specify the diskid 2025-10-27 11:37:43 +00:00
__init__.py
engine.py wic: Avoid problems with "-" characters in plugin names 2025-06-16 17:57:30 +01:00
filemap.py filemap.py: enforce maximum of 4kb block size 2023-03-27 15:44:02 +01:00
help.py wic: rename wks flag --extra-space to --extra-filesystem-space 2025-09-08 18:02:39 +01:00
ksparser.py wic: add option to specify the diskid 2025-10-27 11:37:43 +00:00
misc.py bmaptool: now part of Yocto Project 2024-03-05 12:24:50 +00:00
partition.py wic: partition.py: fix help string 2025-09-11 11:31:55 +01:00
pluginbase.py wic: pluginbase ensure layer order when load plugins 2025-06-16 17:57:30 +01:00