projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c90a8cb
)
ar71xx: remove nand_board_name platform override
author
Mathias Kresin
<dev@kresin.me>
Fri, 7 Apr 2017 16:03:50 +0000
(18:03 +0200)
committer
Mathias Kresin
<dev@kresin.me>
Fri, 8 Dec 2017 19:57:12 +0000
(20:57 +0100)
The boardname isn't used any longer to find the subdirectory in the
sysupgrade tar archive, which makes this override useless.
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 172a58ba67ff53adebf6125d0e1d94b8b6a5067f..e3c48c9eefe34b6ce4ad9da81abe8242eeaa92b9 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-183,15
+183,6
@@
alfa_check_image() {
return 0
}
-platform_nand_board_name() {
- local board=$(board_name)
-
- case "$board" in
- rb*) echo "routerboard";;
- *) echo "$board";;
- esac
-}
-
platform_check_image() {
local board=$(board_name)
local magic="$(get_magic_word "$1")"