base-files: minimize critical time in sysupgrade
authorRodrigo Balerdi <lanchon@gmail.com>
Fri, 15 Apr 2022 10:20:28 +0000 (07:20 -0300)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 19 Apr 2022 15:28:25 +0000 (16:28 +0100)
commit9ba28f978c76692876f4f5bc7ad66e8fc73084fb
tree542fdd4cd75c051beab6c63dc6450835e9a0fdf8
parent9a2f08f6e704d733fea88b6b511f2fa06b8039f4
base-files: minimize critical time in sysupgrade

Attempt to minimize the time during which an interrupted nand sysupgrade
can lead to a non-functional device by flushing caches before starting
the upgrade procedure.

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