openwrtv3/package/base-files/files/lib/upgrade
Jo-Philipp Wich 9808bd2799 Revert "base-files: fwtool: Fix wrong checksum on combined-image with metadata"
This reverts commit 41770add03.

The fwtool_check_image() procedure is used by `sysupgrade --test` which must
not alter the image under test in any way.

Currently, when the LuCI ui or any other sysupgrade wrapper first invokes
sysupgrade --test to verify the compatibility of the image and then calculates
the sha256sum over it, the resulting checksum will differ from the original
image since the test invocation will implicitely strip the metadata trailer.

To properly fix the underlying issue, the combined image checksumming code
must be modified to skip the metadata trailer.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-02 16:05:44 +01:00
..
keep.d base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206) 2014-10-25 17:22:46 +00:00
common.sh treewide: consolidate upgrade state set 2018-08-16 21:20:57 +02:00
fwtool.sh Revert "base-files: fwtool: Fix wrong checksum on combined-image with metadata" 2018-12-02 16:05:44 +01:00
nand.sh procd: nand: remove nand_board_name platform override 2017-12-08 20:57:12 +01:00
stage2 treewide: consolidate upgrade state set 2018-08-16 21:20:57 +02:00