mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-23 10:24:11 +00:00
qualcommax: ipq807x: Remove OEM UBI volume before upgrade for Linksys MX devices
Use 'remove_oem_ubi_volume' function to remove OEM UBI volume before upgrade. This allows to upgrade even if we have OEM firmware on the second partition. Applies to Linksys MX4200/MX4300/MX5300/MX8500. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/14720 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
2fc99e4f18
commit
df1f6e1e18
@ -212,9 +212,13 @@ platform_do_upgrade() {
|
||||
;;
|
||||
linksys,mx4200v1|\
|
||||
linksys,mx4200v2|\
|
||||
linksys,mx4300|\
|
||||
linksys,mx4300)
|
||||
remove_oem_ubi_volume squashfs
|
||||
linksys_mx_do_upgrade "$1"
|
||||
;;
|
||||
linksys,mx5300|\
|
||||
linksys,mx8500)
|
||||
remove_oem_ubi_volume ubifs
|
||||
linksys_mx_do_upgrade "$1"
|
||||
;;
|
||||
prpl,haze|\
|
||||
|
Loading…
x
Reference in New Issue
Block a user