toradex / meta-toradex-security

MIT License
4 stars 9 forks source link

Introduce class to create data partition #33

Closed sergioprado closed 5 months ago

sergioprado commented 5 months ago

This class will enable the creation of a data partition in the eMMC for Easy Installer images.

This will make it possible to have a read-write partition for situations where the rootfs is read-only (e.g. when dm-verity is enabled).

A few additional variables can be used to configure this feature:

This depends on a feature added to image_type_tezi.bbclass in meta-toradex-bsp-common, already merged upstream:

https://git.toradex.com/cgit/meta-toradex-bsp-common.git/commit/?h=kirkstone-6.x.y&id=bbb39c255936a130c18d4eb9410b9558fe5a137b

Build and runtime tested on Verdin iMX8MP.

sergioprado commented 5 months ago

I assume the defaults on the other variables are okay for most general purposes.

Exactly! But of course it can be changed by the user if needed. I might mention this in the documentation, that I plan to write as soon as this is merged.