summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2020-05-15 16:26:40 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-05-15 17:22:07 +0200
commit1880dbf92d14a54879ee041ee3f18be755d0d0ad (patch)
treee9009239bf78f3d4d3be3fde7ae3a691c225b8fb
parentc420c0745b568fbf2ab2d0f7394c27935ed7faf2 (diff)
downloadptxdist-1880dbf92d14a54879ee041ee3f18be755d0d0ad.tar.gz
ptxdist-1880dbf92d14a54879ee041ee3f18be755d0d0ad.tar.xz
image-rauc: enable keyring verification
Note: requires genimage v13 or later Signed-off-by: Bastian Krause <bst@pengutronix.de> Message-Id: <20200515142641.812-15-bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--config/images/rauc.config1
-rw-r--r--rules/image-rauc.make3
2 files changed, 3 insertions, 1 deletions
diff --git a/config/images/rauc.config b/config/images/rauc.config
index 8396bd4be..0c824f00e 100644
--- a/config/images/rauc.config
+++ b/config/images/rauc.config
@@ -13,5 +13,6 @@ image @IMAGE@ {
"
cert = "@RAUC_CERT@"
key = "@RAUC_KEY@"
+ keyring = "@RAUC_KEYRING@"
}
}
diff --git a/rules/image-rauc.make b/rules/image-rauc.make
index d85b88cc2..fe1b0e89b 100644
--- a/rules/image-rauc.make
+++ b/rules/image-rauc.make
@@ -33,7 +33,8 @@ IMAGE_RAUC_ENV = \
RAUC_BUNDLE_BUILD=$(call ptx/sh, date +%FT%T%z) \
RAUC_BUNDLE_DESCRIPTION=$(PTXCONF_IMAGE_RAUC_DESCRIPTION) \
RAUC_KEY="$(shell cs_get_uri update)" \
- RAUC_CERT="$(shell cs_get_uri update)"
+ RAUC_CERT="$(shell cs_get_uri update)" \
+ RAUC_KEYRING="$(shell cs_get_ca update)"
$(IMAGE_RAUC_IMAGE):
@$(call targetinfo)