base-files: sysupgrade: support additional mtd options
authorDavid Bauer <mail@david-bauer.net>
Mon, 31 Dec 2018 15:24:26 +0000 (16:24 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 26 Jan 2019 20:46:32 +0000 (21:46 +0100)
commit28cd2caa35ba9d3749fb0e792dfa9d9aeacc61fa
tree09af23127b58692a4d7aef48d433198313174b83
parent1e06482f7db284567b240ce6f59c644439ec813f
base-files: sysupgrade: support additional mtd options

Add support for passing additional parameters to mtd called during
sysupgrade. It will be required to toggle the "recovery moe" flag
supported by recent tp-link boards.

Signed-off-by: David Bauer <mail@david-bauer.net>
[split code from board support patch; add commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
package/base-files/files/lib/upgrade/common.sh
package/base-files/files/sbin/sysupgrade