projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6868e2
)
kirkwood: fix sysupgrade
author
尤晓杰
<yxj790222@163.com>
Wed, 17 Jan 2018 13:03:50 +0000
(21:03 +0800)
committer
Mathias Kresin
<dev@kresin.me>
Thu, 18 Jan 2018 06:26:28 +0000
(07:26 +0100)
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
patch
|
blob
|
history
diff --git
a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
index 27012bd21d13b48d300ed53c2bd12bd2699a9601..a25d90a096f6d186f78c478581f243d788e480d0 100644
(file)
--- a/
target/linux/kirkwood/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/kirkwood/base-files/lib/upgrade/platform.sh
@@
-4,7
+4,7
@@
RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
REQUIRE_IMAGE_METADATA=1
platform_check_image() {
- return
1
+ return
0
}
platform_do_upgrade() {