base-files: emit diagnostics on sysupgrade abort
authorRodrigo Balerdi <lanchon@gmail.com>
Fri, 15 Apr 2022 03:44:26 +0000 (00:44 -0300)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 19 Apr 2022 15:28:25 +0000 (16:28 +0100)
commitf5ed603d0ce795bb8beb55db90b566836eef6514
treeb547c55ba551c38af5b7de8fb334697ea9fd8327
parent3f2d0703b60357e3ff1865783335be9f51528eb8
base-files: emit diagnostics on sysupgrade abort

Emit diagnostics if nand sysupgrade is aborted because UBI partition
cannot be attached. Also avoid redudndant checks.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
package/base-files/files/lib/upgrade/nand.sh