diff mbox series

[V2,2/2] configs: Add HASH_VERIFY to no_ssl_defconfig

Message ID 20210502142715.116650-3-toertel@gmail.com
State Accepted
Headers show
Series ci: Run all available tests | expand

Commit Message

Mark Jonas May 2, 2021, 2:27 p.m. UTC
The no_ssl_defconfig failed the ValidImageTest of the acceptance-tests.

make V=1 shows that hash verification is missing:

TRACE] : SWUPDATE running :  [get_common_fields] : Version 0.2.2
[TRACE] : SWUPDATE running :  [parse_hw_compatibility] : Accepted Hw
Revision : 1
[TRACE] : SWUPDATE running :  [_parse_files] : Found File: hello.txt -->
/home/hello.txt (ROOTFS)
[ERROR] : SWUPDATE failed [0] ERROR core/parser.c : check_hash_absent :
52 : hash verification not enabled but hash supplied for hello.txt
[ERROR] : SWUPDATE failed [0] ERROR core/stream_interface.c :
extract_files : 165 : Compatible SW not found
[ERROR] : SWUPDATE failed [1] Image invalid or corrupted. Not installing ...

This is fixed by adding HASH_VERIFY to the no_ssl_defconfig.

Signed-off-by: Mark Jonas <toertel@gmail.com>
---
 configs/no_ssl_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configs/no_ssl_defconfig b/configs/no_ssl_defconfig
index e25b688..8891bbb 100644
--- a/configs/no_ssl_defconfig
+++ b/configs/no_ssl_defconfig
@@ -6,6 +6,7 @@  CONFIG_LUAPKG="lua5.2"
 CONFIG_EXTRA_CFLAGS="-g"
 CONFIG_BOOTLOADER_NONE=y
 CONFIG_DOWNLOAD=y
+CONFIG_HASH_VERIFY=y
 CONFIG_WEBSERVER=y
 CONFIG_JSON=y
 CONFIG_LUAEXTERNAL=y