Note: requires genimage > 12

Signed-off-by: Bastian Krause <[email protected]>
---
 config/images/rauc.config | 1 +
 rules/image-rauc.make     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

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 a031edfae..c0c9d4978 100644
--- a/rules/image-rauc.make
+++ b/rules/image-rauc.make
@@ -32,7 +32,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)
-- 
2.26.2


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to