diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-01-05 15:10:06 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-01-05 20:05:33 +0100 |
commit | e9929ebeeaef5f59d56b93ebe96c9fc0bd363521 (patch) | |
tree | cb4af99656d725fedd15f7eae0eab498ac6f20d4 /package | |
parent | dc399c4e120ac71ed406b44036c60ef90778ea52 (diff) | |
download | upstream-e9929ebeeaef5f59d56b93ebe96c9fc0bd363521.tar.gz upstream-e9929ebeeaef5f59d56b93ebe96c9fc0bd363521.tar.bz2 upstream-e9929ebeeaef5f59d56b93ebe96c9fc0bd363521.zip |
ramips: Fix sysupgrade for Xiaomi mir3g
Without this change sysupgrade from 18.06 to 19.07 is only possible with
the -F option.
In OpenWrt 18.06 the nand_do_platform_check() function is called with
the board name mir3g only, if the tar does not use mir3g it will fail.
OpenWrt 19.07 and later support the metadata with the supported_devices
attribute to allow renaming. Do the renaming of the target between 19.07
and master like it is done for some other boards.
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>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions