openwrt/package/base-files/files/lib/upgrade
Felix Fietkau cc853810a4 base-files: validate metadata of sysupgrade images
Use fwtool to extract it, only require metadata to be present if the
platform sysupgrade script sets REQUIRE_IMAGE_METADATA=1

Image metadata is in JSON format and contains a list of supported
devices, along with version information that could be displayed by a UI
later before the actual upgrade happens.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-11-19 11:24:09 +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 package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list 2016-10-26 12:37:47 +02:00
fwtool.sh base-files: validate metadata of sysupgrade images 2016-11-19 11:24:09 +01:00