ipq807x: sax1v1k: fix sysupgrade not touching rootfs_data
authorRodrigo Balerdi <lanchon@gmail.com>
Mon, 23 Sep 2024 10:31:08 +0000 (07:31 -0300)
committerRobert Marko <robimarko@gmail.com>
Mon, 23 Sep 2024 22:07:55 +0000 (00:07 +0200)
commit3b221ba5afe42bc32e878299d7d2275702536684
tree04d195209b4235f678fffa529b42fdacc68f8de1
parent76a75b43ba1bf0bdfd5c27b5685e641f9131b6f8
ipq807x: sax1v1k: fix sysupgrade not touching rootfs_data

Before this commit, sysupgrade saved the settings backup data to
the area following rootfs even though the device has an actual
rootfs_data partition. The backup data was completely ignored on
the following boot, but since rootfs_data was not being cleared
during sysupgrade, the issue was not noticed earlier.

Note that this commit changes the filesystem of rootfs_data from
ext4 to F2FS (if OEM partitioning is used).

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16463
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/image/ipq807x.mk
target/linux/qualcommax/ipq807x/base-files/lib/upgrade/platform.sh