diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2017-03-20 12:36:26 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-03-24 15:06:29 +0100 |
commit | f571b354ee5c256d032265e9da5c9bd34a5935bb (patch) | |
tree | 24f1f05b1f2e5a78fc1ca78865a1bb24ce2da49a /platforms | |
parent | 184021c6255d080579543bda7a515b28c682710d (diff) | |
download | ptxdist-f571b354ee5c256d032265e9da5c9bd34a5935bb.tar.gz ptxdist-f571b354ee5c256d032265e9da5c9bd34a5935bb.tar.xz |
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 <ejo@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/image-rauc.in | 28 |
1 files changed, 28 insertions, 0 deletions
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 |