From 3e1f3cdf9ecbbc3b409b2440a82106d858c9b984 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 2 Oct 2024 11:17:35 +0200 Subject: [PATCH] swupdate: clean warning on firmware update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The swupdate description file allows to configure the setting of u-boot environment variables. For some platforms the "upgrade_available" variable has an empty value, and swupdate parser warns when the description asks to set a variable with an empty value.      Initialize the variable to 0, which is semantically the same for u-boot. https://onedigi.atlassian.net/browse/DEL-9279 Signed-off-by: Javier Viguera --- meta-digi-dey/recipes-digi/swu-images/swu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-digi/swu-images/swu.inc b/meta-digi-dey/recipes-digi/swu-images/swu.inc index fd79434a4..5fea641f9 100644 --- a/meta-digi-dey/recipes-digi/swu-images/swu.inc +++ b/meta-digi-dey/recipes-digi/swu-images/swu.inc @@ -80,7 +80,7 @@ python do_swuimage:prepend() { } # Upgrade available. -UPGRADE_AVAILABLE = "" +UPGRADE_AVAILABLE = "0" UPGRADE_AVAILABLE:ccimx6 = "1" # Create and fill 'sw-description' file.