diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-14 16:18:10 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-31 11:40:15 +0200 |
commit | 090779b24e436bb5113719eb7067c7b8151abd14 (patch) | |
tree | 3c2b2edf84eaad8f983316cc0cdff5de258ad6c6 /target/linux/mvebu | |
parent | 494f12c52df6767ec0fabf2b2fac8f453323a4c5 (diff) | |
download | upstream-090779b24e436bb5113719eb7067c7b8151abd14.tar.gz upstream-090779b24e436bb5113719eb7067c7b8151abd14.tar.bz2 upstream-090779b24e436bb5113719eb7067c7b8151abd14.zip |
kirkwood: implement compatibility version for DSA migration
This implements the newly introduced compat-version to prevent
upgrade between swconfig and DSA for kirkwood.
Just define a compat version with minor increment and an appropriate
message for both image (in Makefile) and device (in base-files).
Since we never removed SUPPORTED_DEVICES for this target, we don't
have to add it back either.
Attention:
All users that already updated to the DSA versions in master will
receive the same incompatibility warning since their devices are still
"1.0" as far as fwtool can tell.
Those, and only those, can bypass the upgrade check by using force (-F)
without having to reset config again. In addition, the new version
string needs to be put into uci config manually, so the new fwtool
knows that it actually deals with a "1.1":
uci set "system.@system[-1].compat_version=1.1"
uci commit system
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/mvebu')
0 files changed, 0 insertions, 0 deletions