On Thu, May 14, 2020 at 03:42:58PM +0200, Bastian Krause wrote:
> Note: requires genimage > 12

I think "genimage 13 or later" would be clearer here. On first glance I
thought that 12 is ok too and that's not correct.

Michael

> Signed-off-by: Bastian Krause <b...@pengutronix.de>
> ---
>  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
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to