Skip to content

[DISK-LAYOUT] Add Clea OS booting partition

Davide Cardillo requested to merge davc/disk_layout into scarthgap_kickoff

Introduce a new bootimg partition for Clea OS, which contains the necessary files to boot the system. This partition is separate from the system partition and is intended to hold boot-related files such as the ramfs image and bootscript files.

Note: This has been tested in the x86 context.

To support the Clea OS booting partition, the following changes have been made:

  • Added a new WIC plugin clea-os-bootimg-partition.py to generate the booting partition. This plugin uses the IMAGE_CLEA_OS_BOOT_FILES global WICVARS variable, serving the same purpose as IMAGE_BOOT_FILES: to specify the files to include in the partition.
  • Modified WKS_SYSTEM_BOOT_PARTITION_LAYOUT to include a new partition item referencing the plugin.
  • Included ramfs.img in the new booting partition.

JIRA Reference:[CLEAOS-649]

Signed-off-by: default avatarDavide Cardillo davide.cardillo@seco.com

Merge request reports

Loading