qualcommax: ipq50xx: sysupgrade: fix OEM UBI volume name for Linksys MX devices

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>
This commit is contained in:
George Moussalem 2025-02-14 18:58:16 +04:00 committed by Robert Marko
parent fe379eb1c1
commit 92132bb9cc

View 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"
;;
*)