summaryrefslogtreecommitdiffstats
path: root/rules/image-rauc.make
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2021-10-01 00:34:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-10-08 16:15:48 +0200
commitd57f4c16c33e47a70fb4f194722455995145e9eb (patch)
tree4d579f3807de572e763860dedafa3e2b96ba4336 /rules/image-rauc.make
parent2c0ada378b9f19fab9650db5f41aaa4230b357c5 (diff)
downloadptxdist-d57f4c16c33e47a70fb4f194722455995145e9eb.tar.gz
ptxdist-d57f4c16c33e47a70fb4f194722455995145e9eb.tar.xz
image-rauc: allow selecting the bundle type (plain or verity)
Newer setups probably want to use the improved 'verity' format, while existing setups probably need to stay with 'plain' to provide an upgrade path. See the discussion of the differences between the formats in <https://rauc.readthedocs.io/en/latest/reference.html#sec-ref-formats>. Reported-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Tested-by: Alexander Dahl <ada@thorsis.com> Message-Id: <20210930223442.5820-1-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/image-rauc.make')
-rw-r--r--rules/image-rauc.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/image-rauc.make b/rules/image-rauc.make
index fe1b0e89b..d70114aa2 100644
--- a/rules/image-rauc.make
+++ b/rules/image-rauc.make
@@ -29,6 +29,7 @@ ifdef PTXCONF_IMAGE_RAUC
IMAGE_RAUC_ENV = \
$(CODE_SIGNING_ENV) \
RAUC_BUNDLE_COMPATIBLE="$(call remove_quotes,$(PTXCONF_RAUC_COMPATIBLE))" \
+ RAUC_BUNDLE_FORMAT="$(call ptx/ifdef,PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_VERITY,verity,plain)" \
RAUC_BUNDLE_VERSION="$(call remove_quotes, $(PTXCONF_RAUC_BUNDLE_VERSION))" \
RAUC_BUNDLE_BUILD=$(call ptx/sh, date +%FT%T%z) \
RAUC_BUNDLE_DESCRIPTION=$(PTXCONF_IMAGE_RAUC_DESCRIPTION) \