base-files: validate firmware for compatibility with backup
authorRafał Miłecki <rafal@milecki.pl>
Thu, 5 Sep 2019 11:08:13 +0000 (13:08 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 20:31:21 +0000 (16:31 -0400)
commitf3c7f7e92947c89f7f6dc0cfdfdd5f0ec73ed741
treecc7e28a804725c5950498e605a21e3438f82abaf
parent807ee676537f4fdbf18c5e7d2b8703b82e4167f5
base-files: validate firmware for compatibility with backup

This allows platform code to check if firmware image can be used with
preserving a backup. It may be used e.g. when installing vendor
firmwares that won't restore appended backup archive.

Suggested-by: Luis Araneda <luaraneda@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 1c510fe2980cd787602786e82f44602549d607d4)
package/base-files/files/usr/libexec/validate_firmware_image