meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey
Hector Palacios fddaee85b9 update-fw scripts: fix error path after sucessful update
On commit 1e5cafeb79 a fall-back
update command was introduced in case the newest command fails.
If the newest command succeeds, however, the 'test' command for
error doesn't match (there is no error) and the return code of
such test is "1". On the next check for errors, this results on
an error, when we really mean to continue because the first
command was successful.

Move the second error check inside the error path of the first
attempt.

Reported-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-01-18 17:36:38 +01:00
..
ccimx6qpsbc uboot: add script to update firmware from a USB stick 2020-12-03 15:46:22 +01:00
ccimx6sbc uboot: add script to update firmware from a USB stick 2020-12-03 15:46:22 +01:00
ccimx6ulsbc update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
ccimx6ulstarter update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
ccimx8mn-dvk update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
ccimx8x-sbc-express update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
ccimx8x-sbc-pro update-fw scripts: fix error path after sucessful update 2021-01-18 17:36:38 +01:00
use-mainline-bsp thud migration: u-boot: remove kernel image type from device tree files 2019-02-08 12:13:11 +01:00