[openwrt/openwrt] mediatek: fix sysupgrade config backup on Adtran SmartRG devices

LEDE Commits lede-commits at lists.infradead.org
Fri May 24 12:58:00 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c82e106313fe7855381496e73dee2d189971d576

commit c82e106313fe7855381496e73dee2d189971d576
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Apr 20 02:59:31 2024 +0100

    mediatek: fix sysupgrade config backup on Adtran SmartRG devices
    
    Add missing call to emmc_copy_config which either writes the sysupgrade
    tar.gz backup file or clears the existing rootfs_data overlay.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
index 9b46111d33..5ccebb2565 100755
--- a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
@@ -241,6 +241,10 @@ platform_copy_config() {
 	glinet,gl-x3000|\
 	glinet,gl-xe3000|\
 	jdcloud,re-cp-03|\
+	smartrg,sdg-8612|\
+	smartrg,sdg-8614|\
+	smartrg,sdg-8622|\
+	smartrg,sdg-8632|\
 	ubnt,unifi-6-plus)
 		emmc_copy_config
 		;;




More information about the lede-commits mailing list