summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEnrico Jorns <ejo@pengutronix.de>2017-03-20 12:36:26 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-03-24 15:06:29 +0100
commitf571b354ee5c256d032265e9da5c9bd34a5935bb (patch)
tree24f1f05b1f2e5a78fc1ca78865a1bb24ce2da49a /config
parent184021c6255d080579543bda7a515b28c682710d (diff)
downloadptxdist-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 'config')
-rw-r--r--config/images/rauc.config17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/images/rauc.config b/config/images/rauc.config
new file mode 100644
index 000000000..fb43c7efb
--- /dev/null
+++ b/config/images/rauc.config
@@ -0,0 +1,17 @@
+image update.raucb {
+ rauc {
+ file root.tar.gz { image = "root.tgz" }
+ manifest = "
+ [update]
+ compatible=@RAUC_BUNDLE_COMPATIBLE@
+ version=@RAUC_BUNDLE_VERSION@
+ build=@RAUC_BUNDLE_BUILD@
+ description=@RAUC_BUNDLE_DESCRIPTION@
+
+ [image.rootfs]
+ filename=root.tar.gz
+ "
+ cert = "@RAUC_CERT@"
+ key = "@RAUC_KEY@"
+ }
+}