ramips: add image checks
authorChen Minqiang <ptpt52@gmail.com>
Thu, 11 Jan 2018 15:43:09 +0000 (23:43 +0800)
committerMathias Kresin <dev@kresin.me>
Mon, 15 Jan 2018 20:45:43 +0000 (21:45 +0100)
commita8054d83dcc37f2b62ef874c18741cc60c219c61
tree6ac5a4e05eb143d3359ff622e199d6abe37800ab
parent16f2befc3cae3b541682644f53f5a81b2aaa9150
ramips: add image checks

As long as we can't enforce image metadata, we need to use (platform)
image checks to have at least soem kind of validation.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
target/linux/ramips/base-files/lib/upgrade/platform.sh