diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-02 16:05:40 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-02 16:05:44 +0100 |
commit | 9808bd279927bcd2d3a78d19a55229b93bbbcf05 (patch) | |
tree | 35ce215ec482e1b68014db17cb49283addb176e4 /target/linux | |
parent | 78ca6a5578d6c7b06ca520b0aac965a1babf5417 (diff) | |
download | upstream-9808bd279927bcd2d3a78d19a55229b93bbbcf05.tar.gz upstream-9808bd279927bcd2d3a78d19a55229b93bbbcf05.tar.bz2 upstream-9808bd279927bcd2d3a78d19a55229b93bbbcf05.zip |
Revert "base-files: fwtool: Fix wrong checksum on combined-image with metadata"
This reverts commit 41770add03ad77a0ce41ed424ad050238f7d9272.
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>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions