Skip to content

[WIC][CLASS] Add EgehogSystemPartitionPlugin class

Davide Cardillo requested to merge updates into kirkstone/develop

Add a new WIC's class used as plugin. This class allows to export one or a set of folders from the rootfs and place them into an external partition that inherits that class.

To specify the folders to export this variable have to be populated:

EXTERNAL_ROOTFS_FOLDERS

An example of export of folders /etc, /home and /var:

EXTERNAL_ROOTFS_FOLDERS = "
var/
etc/
home/
"

The partition is setting is:

part / --source edgehog-system-partition --ondisk mmcblk --fstype=ext4 --label datafs --size 128M --align 4

Automatically, this partition will include the folders etc,var and home in its root folder.

Merge request reports