ramips: Fix sysupgrade for Xiaomi mir3g
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 6 Jan 2020 15:33:27 +0000 (16:33 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 6 Jan 2020 16:47:09 +0000 (17:47 +0100)
commita3ffeb413bca3da273aac924f4aa0f326a66a620
treeebbc39595f48b7b70a2dc278576dd41bfc3978f0
parentf58705b77eb20a3c39b2274168aba06233df2bc8
ramips: Fix sysupgrade for Xiaomi mir3g

This mostly reverts the original commit e9929ebeeaef ("ramips: Fix
sysupgrade for Xiaomi mir3g") and replaces it with setting the
BOARD_NAME to the old value.

This way the folder in the tar will be named sysupgrade-mir3g and not
sysupgrade-xiaomi_mir3g and the sysupgrade in OpenWrt 18.06 can find it.

Without this change sysupgrade from 18.06 to 19.07 is only possible with
the -F option.

I tested the following sysupgrades successfully without -F
18.06 -> 19.07
19.07 -> master
master -> 19.07

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/image/mt7621.mk