qualcommax: ipq50xx: sysupgrade: fix OEM UBI volume name for Linksys MX devices
authorGeorge Moussalem <george.moussalem@outlook.com>
Fri, 14 Feb 2025 14:58:16 +0000 (18:58 +0400)
committerRobert Marko <robimarko@gmail.com>
Tue, 18 Feb 2025 08:37:25 +0000 (09:37 +0100)
The UBI volume name in OEM firmware for Linksys MX2000, MX5500, and
SPNMX56 is 'squashfs' instead of 'rootfs'. So let's update the volume
accordingly.

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/17968
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/ipq50xx/base-files/lib/upgrade/platform.sh

index 5144617f8b85f82ac443d5e6a8b463f4dad9cbb5..bafbc7bbdb717b3ffd913510c4482cb4f4e1dd32 100644 (file)
@@ -75,7 +75,7 @@ platform_do_upgrade() {
        linksys,mx2000|\
        linksys,mx5500|\
        linksys,spnmx56)
-               remove_oem_ubi_volume rootfs
+               remove_oem_ubi_volume squashfs
                linksys_mx_do_upgrade "$1"
                ;;
        *)