swupdate: clean warning on firmware update
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 <javier.viguera@digi.com>
This commit is contained in:
parent
1de1fae447
commit
3e1f3cdf9e
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue