kirkwood: fix sysupgrade
author尤晓杰 <yxj790222@163.com>
Wed, 17 Jan 2018 13:03:50 +0000 (21:03 +0800)
committerMathias Kresin <dev@kresin.me>
Thu, 18 Jan 2018 06:26:28 +0000 (07:26 +0100)
commita7e62b4be1dac8e98a816ad9b11d0b8ff7620dd7
tree905d411dd093d5dff28f9086fdfb3562305a282e
parentb6868e2f4703efe18d91c0422fb090d8a119c8fd
kirkwood: fix sysupgrade

The platform_check_image() stub need to return 0 for success, otherwise
the sysupgrade will fail with:

  Image check 'platform_check_image' failed.

Fixes: aa6f5f1787a6 ("kirkwood: use image metadata")
Signed-off-by: 尤晓杰 <yxj790222@163.com>
[reworded commit message}
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/kirkwood/base-files/lib/upgrade/platform.sh