From f571b354ee5c256d032265e9da5c9bd34a5935bb Mon Sep 17 00:00:00 2001 From: Enrico Jorns Date: Mon, 20 Mar 2017 12:36:26 +0100 Subject: image-rauc: new package This adds a default image recipe for building a RAUC update Bundle out of the systems rootfs. In order to sign your update (mandatory) you need to place a valid certificate and key file in your BSP. Their location is default they are currently expected to be located at: $(PTXDIST_PLATFORMCONFIGDIR)/config/rauc/rauc.key.pem (key) $(PTXDIST_PLATFORMCONFIGDIR)/config/rauc/rauc.cert.pem (cert) PTXdist will then create the bundle during a run of `ptxdist images`. Signed-off-by: Enrico Jorns Signed-off-by: Michael Olbrich --- platforms/image-rauc.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 platforms/image-rauc.in (limited to 'platforms') diff --git a/platforms/image-rauc.in b/platforms/image-rauc.in new file mode 100644 index 000000000..71c6898ba --- /dev/null +++ b/platforms/image-rauc.in @@ -0,0 +1,28 @@ +## SECTION=image2 + +menuconfig IMAGE_RAUC + tristate + prompt "Generate RAUC Update Bundle" + select HOST_GENIMAGE + select HOST_RAUC + select IMAGE_ROOT_TGZ + help + This generates a RAUC update Bundle for the selected platform using + genimage. + + By default, this will create a simple Bundle for updating a 'rootfs' + slot with the content from PTXdist's root file system .tgz image. + + To customize the bundle, copy and adapt the genimage configuration + file rauc.config. + +if IMAGE_RAUC + +config IMAGE_RAUC_DESCRIPTION + prompt "RAUC Bundle Description" + string + default "" + help + Optional description that will be placed in the Bundles metadata. + +endif -- cgit v1.2.3