From 58b3bdb5847bb5e4013a7b7019c29cd5ddb8372f Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Thu, 14 Sep 2023 11:36:13 +0200 Subject: [PATCH] swupdate: restore a full defconfig out of a .config Commit 429125cce02a created a minimal version 'defconfig' that doesn't include all the default configuration options of swupdate. However, an anonymous python function inside the swupdate repository establishes dependencies basing on configuration switches it finds (or not) in the 'defconfig' file and any additional configuration fragments. For this reason, a minimal 'defconfig' cannot be used in this recipe and a full configuration file (that also includes default options) must be used instead. Reported-by: Stephan Klatt Signed-off-by: Hector Palacios Signed-off-by: Javier Viguera --- .../swupdate/swupdate/defconfig | 113 ++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig b/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig index ed9b3f416..8b52b25d9 100644 --- a/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig +++ b/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig @@ -1,10 +1,123 @@ +# +# Automatically generated file; DO NOT EDIT. +# SWUpdate Configuration +# + +# +# SWUpdate Settings +# + +# +# General Configuration +# +# CONFIG_CURL is not set +# CONFIG_CURL_SSL is not set +# CONFIG_DISKFORMAT is not set +# CONFIG_SYSTEMD is not set +CONFIG_DEFAULT_CONFIG_FILE="/etc/swupdate.cfg" +CONFIG_SCRIPTS=y +# CONFIG_HW_COMPATIBILITY is not set +CONFIG_SW_VERSIONS_FILE="/etc/sw-versions" + +# +# Socket Paths +# +CONFIG_SOCKET_CTRL_PATH="" +CONFIG_SOCKET_PROGRESS_PATH="" # CONFIG_MTD is not set # CONFIG_LUA is not set +# CONFIG_FEATURE_SYSLOG is not set +CONFIG_DIGI_ON_THE_FLY="n" + +# +# Build Options +# +CONFIG_CROSS_COMPILE="" +CONFIG_SYSROOT="" +CONFIG_EXTRA_CFLAGS="" +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_WERROR is not set +# CONFIG_NOCLEANUP is not set + +# +# Bootloader support +# + +# +# Bootloader Interfaces +# # CONFIG_BOOTLOADER_NONE is not set +# CONFIG_BOOTLOADER_EBG is not set CONFIG_UBOOT=y +CONFIG_UBOOT_FWENV="/etc/fw_env.config" +CONFIG_UBOOT_DEFAULTENV="/etc/u-boot-initial-env" +# CONFIG_BOOTLOADER_GRUB is not set +CONFIG_BOOTLOADER_DEFAULT_UBOOT=y +# CONFIG_BOOTLOADER_STATIC_LINKED is not set +CONFIG_UPDATE_STATE_CHOICE_BOOTLOADER=y +CONFIG_UPDATE_STATE_BOOTLOADER="ustate" + +# +# Interfaces +# +# CONFIG_DOWNLOAD is not set +# CONFIG_SURICATTA is not set +# CONFIG_WEBSERVER is not set + +# +# Security +# +# CONFIG_SSL_IMPL_NONE is not set +CONFIG_SSL_IMPL_OPENSSL=y +# CONFIG_SSL_IMPL_WOLFSSL is not set +# CONFIG_SSL_IMPL_MBEDTLS is not set CONFIG_HASH_VERIFY=y +# CONFIG_SIGNED_IMAGES is not set +# CONFIG_ENCRYPTED_IMAGES is not set + +# +# Compressors (zlib always on) +# +CONFIG_GUNZIP=y +# CONFIG_ZSTD is not set + +# +# Parsers +# + +# +# Parser Features +# +CONFIG_LIBCONFIG=y +CONFIG_PARSERROOT="" +# CONFIG_JSON is not set +# CONFIG_SETSWDESCRIPTION is not set + +# +# Handlers +# + +# +# Image Handlers +# CONFIG_ARCHIVE=y +CONFIG_LOCALE=y CONFIG_BOOTLOADERHANDLER=y +# CONFIG_COPY is not set +# CONFIG_DELTA is not set +# CONFIG_DISKPART is not set +# CONFIG_DISKFORMAT_HANDLER is not set CONFIG_RAW=y CONFIG_RDIFFHANDLER=y +# CONFIG_READBACKHANDLER is not set +# CONFIG_REMOTE_HANDLER is not set CONFIG_SHELLSCRIPTHANDLER=y +# CONFIG_SWUFORWARDER_HANDLER is not set +# CONFIG_UCFWHANDLER is not set +# CONFIG_UNIQUEUUID is not set