diff mbox series

[meta-swupdate-boards,4/4] swupdate: Do not sign Raspberry Pi image

Message ID 20240726124225.621957-4-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-swupdate-boards,1/4] conf/layer.conf: Add Scarthgap support | expand

Commit Message

Leon Anavi July 26, 2024, 12:42 p.m. UTC
Disable Raspberry Pi image signing, but retain the settings as
comments. This approach simplifies getting started with a demo on
Raspberry Pi, while still providing clear instructions for enabling
signing later in the project.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 recipes-support/swupdate/swupdate/rpi/defconfig    | 7 ++++---
 recipes-support/swupdate/swupdate/rpi/swupdate.cfg | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

Comments

Stefano Babic July 26, 2024, 2:46 p.m. UTC | #1
On 26.07.24 14:42, Leon Anavi wrote:
> Disable Raspberry Pi image signing, but retain the settings as
> comments. This approach simplifies getting started with a demo on
> Raspberry Pi, while still providing clear instructions for enabling
> signing later in the project.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
>   recipes-support/swupdate/swupdate/rpi/defconfig    | 7 ++++---
>   recipes-support/swupdate/swupdate/rpi/swupdate.cfg | 2 +-
>   2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-support/swupdate/swupdate/rpi/defconfig b/recipes-support/swupdate/swupdate/rpi/defconfig
> index 03cfd7e..fdf1c56 100644
> --- a/recipes-support/swupdate/swupdate/rpi/defconfig
> +++ b/recipes-support/swupdate/swupdate/rpi/defconfig
> @@ -1,4 +1,4 @@
> -#
> +
>   # Automatically generated file; DO NOT EDIT.
>   # Swupdate Configuration
>   #
> @@ -59,8 +59,9 @@ CONFIG_DOWNLOAD=y
>   # CONFIG_DOWNLOAD_SSL is not set
>   CONFIG_CHANNEL_CURL=y
>   CONFIG_HASH_VERIFY=y
> -CONFIG_SIGNED_IMAGES=y
> -CONFIG_ENCRYPTED_IMAGES=y
> +# Enable to update images with verified source
> +#CONFIG_SIGNED_IMAGES=y
> +#CONFIG_ENCRYPTED_IMAGES=y
>   CONFIG_SURICATTA=y
>
>   #
> diff --git a/recipes-support/swupdate/swupdate/rpi/swupdate.cfg b/recipes-support/swupdate/swupdate/rpi/swupdate.cfg
> index 4b8a582..00fd482 100644
> --- a/recipes-support/swupdate/swupdate/rpi/swupdate.cfg
> +++ b/recipes-support/swupdate/swupdate/rpi/swupdate.cfg
> @@ -3,7 +3,7 @@ globals :
>   	verbose			= true;
>   	loglevel		= 5;
>   	syslog			= true;
> -	public-key-file = "@PUBKEY@";
> +	// public-key-file = "@PUBKEY@";
>   };
>
>   download :

Acked-by: Stefano Babic <stefano.babic@swupdate.org>
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate/rpi/defconfig b/recipes-support/swupdate/swupdate/rpi/defconfig
index 03cfd7e..fdf1c56 100644
--- a/recipes-support/swupdate/swupdate/rpi/defconfig
+++ b/recipes-support/swupdate/swupdate/rpi/defconfig
@@ -1,4 +1,4 @@ 
-#
+
 # Automatically generated file; DO NOT EDIT.
 # Swupdate Configuration
 #
@@ -59,8 +59,9 @@  CONFIG_DOWNLOAD=y
 # CONFIG_DOWNLOAD_SSL is not set
 CONFIG_CHANNEL_CURL=y
 CONFIG_HASH_VERIFY=y
-CONFIG_SIGNED_IMAGES=y
-CONFIG_ENCRYPTED_IMAGES=y
+# Enable to update images with verified source
+#CONFIG_SIGNED_IMAGES=y
+#CONFIG_ENCRYPTED_IMAGES=y
 CONFIG_SURICATTA=y
 
 #
diff --git a/recipes-support/swupdate/swupdate/rpi/swupdate.cfg b/recipes-support/swupdate/swupdate/rpi/swupdate.cfg
index 4b8a582..00fd482 100644
--- a/recipes-support/swupdate/swupdate/rpi/swupdate.cfg
+++ b/recipes-support/swupdate/swupdate/rpi/swupdate.cfg
@@ -3,7 +3,7 @@  globals :
 	verbose			= true;
 	loglevel		= 5;
 	syslog			= true;
-	public-key-file = "@PUBKEY@";
+	// public-key-file = "@PUBKEY@";
 };
 
 download :