Skip to content

Initial RAUC support

Tobias Kahlki requested to merge kirkstone/develop_rauc into kirkstone/develop

The rauc recipe contains a first version of the disk layout. The compatible parameter in the system.conf is set to the MACHINE variable during the build (see rauc_%.bbappend).

A bundle can be created by running bitbake seco-bundle-edgehog.

The generation of the bundle requires a valid key and certificate. For now we assume a self-generated pair that is located in the bundle and rauc/files folders:

  • ~/recipes-core/bundles/rauc.key
  • ~/recipes-core/bundles/rauc.pem
  • ~/recipes-core/rauc/files/ca.cert.pem

The rauc.pem and the ca.cert.pem are the same. The ca.cert.pem is included in the final image and is used for the bundle validation upon updates on the system. For the generation of the self-signed certificate, there is a example script included in meta-rauc/scripts.

Also see https://github.com/rauc/meta-rauc.

Edited by Tobias Kahlki

Merge request reports