projects
/
lede-git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
broadcom-wl: fix compile with kernel 4.9
[lede-git/.git]
/
target
/
linux
/
au1000
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/au1000/base-files/lib/upgrade/platform.sh
b/target/linux/au1000/base-files/lib/upgrade/platform.sh
index 85ab21334775cd811b00a3800e131e7c2cf3b6c2..1a9d151c8a282bd6fde26ffda4a218c5c975ace5 100644
(file)
--- a/
target/linux/au1000/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/au1000/base-files/lib/upgrade/platform.sh
@@
-1,8
+1,8
@@
KERNEL_IMG="openwrt-au1000-au1500-vmlinux.bin"
KERNEL_IMG="openwrt-au1000-au1500-vmlinux.bin"
-ROOTFS_IMG="openwrt-au1000-au1500-
jffs2-128k
.fs"
+ROOTFS_IMG="openwrt-au1000-au1500-
root
.fs"
platform_check_image() {
platform_check_image() {
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
6f70)
( get_image "$1" | tar -tf - $KERNEL_IMG >/dev/null && \
case "$(get_magic_word "$1")" in
6f70)
( get_image "$1" | tar -tf - $KERNEL_IMG >/dev/null && \