openwrtv3/package/base-files/files/lib/upgrade
Petr Štetiar 41770add03 base-files: fwtool: Fix wrong checksum on combined-image with metadata
If I create following image:

define Device/engenius-m36
  IMAGE/sysupgrade.bin := combined-image | append-metadata
endef

Sysupgrade then errors out:

  Invalid image. Contents do not match checksum (image:cd285595eaf297370404ae0e2815ec1a calculated:2cf9a2286fb6b01af3ea189128017d44)
  Image check 'platform_check_image' failed.

By removing the metadata from the image I get combined-image checksum
working again and sysupgrade works.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-26 12:05:45 +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 base-files: fwtool: Fix wrong checksum on combined-image with metadata 2018-11-26 12:05:45 +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