mediatek: fix sysupgrade config backup on Adtran SmartRG devices
authorDaniel Golle <daniel@makrotopia.org>
Sat, 20 Apr 2024 01:59:31 +0000 (02:59 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 24 May 2024 17:34:13 +0000 (18:34 +0100)
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@makrotopia.org>
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh

index 9b46111d33b2b6f7c1ee85e4f26fc83821dccd84..5ccebb2565f5c17e8f481252bdd09697edab804f 100755 (executable)
@@ -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
                ;;