[openwrt/openwrt] treewide: add sysupgrade comment for early DSA-adopters
LEDE Commits
lede-commits at lists.infradead.org
Sat Aug 8 15:29:37 EDT 2020
adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e81e625ca375d6dc3c885ec870ec15757ac76d72
commit e81e625ca375d6dc3c885ec870ec15757ac76d72
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Sat Aug 8 20:53:38 2020 +0200
treewide: add sysupgrade comment for early DSA-adopters
Add a specific comment for early DSA-adopters that they can keep
their config when prompted due to compat-version increase.
This is a temporary solution, the patch should be simply reverted
before any release.
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
target/linux/kirkwood/image/Makefile | 3 ++-
target/linux/mvebu/image/cortexa9.mk | 3 ++-
target/linux/ramips/image/mt7621.mk | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index 46aef31bee..c6d1c335ca 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -12,7 +12,8 @@ KERNEL_LOADADDR:=0x8000
define Device/dsa-migration
DEVICE_COMPAT_VERSION := 1.1
- DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
+ DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA \
+ (early adopters with DSA already set up may just force-flash keeping existing config)
endef
define Device/Default
diff --git a/target/linux/mvebu/image/cortexa9.mk b/target/linux/mvebu/image/cortexa9.mk
index 245e8a2d69..08ad4f8c8a 100644
--- a/target/linux/mvebu/image/cortexa9.mk
+++ b/target/linux/mvebu/image/cortexa9.mk
@@ -8,7 +8,8 @@
define Device/dsa-migration
DEVICE_COMPAT_VERSION := 1.1
- DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
+ DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA \
+ (early adopters with DSA already set up may just force-flash keeping existing config)
endef
define Device/buffalo_ls421de
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 34f0ee7e3c..c922303c54 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -107,7 +107,8 @@ endef
define Device/dsa-migration
DEVICE_COMPAT_VERSION := 1.1
- DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
+ DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA \
+ (early adopters with DSA already set up may just force-flash keeping existing config)
endef
define Device/adslr_g7
More information about the lede-commits
mailing list