View Issue Details

IDProjectCategoryView StatusLast Update
0005142UBootU-Bootpublic2023-07-19 08:07
Reportergerbach Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionfsimx6-B2019.08 
Target Versionfsimx6ul-B2022.04Fixed in Versionfsimx8mp-Y2022.11 
Summary0005142: Update process does not fail if single command fails
DescriptionIt is expected that the update process in uboot aborts and fails if a single command of the update script fails.
This does ot happe, instead "Install compelte" is printed regardless, if the commads returned 0 or not.

The problem seems to be the parse_string_outer function from the hush shell which does ot return the retrun values from the single commands
Forum Link



2023-07-19 08:07

developer   ~0004497

Newer update scripts use the is_error function and abort with failure if something goes wrong