Daniel Golle 5cae98c25d mvebu: puzzle-m90x: wipe rootfs_data on sysupgrade
The sysupgrade formware of the Puzzle series is a slightly strange
dual-boot approach while remaining compatible with Marvell's SDK
firmware upgrade binary format -- which happens to be a full-disk
image with GPT partition table. Hence that /lib/upgrade/emmc-puzzle.sh
script is like an exotic disease which results from those decisions,
and as we also want to somehow stay compatible with the IEI-World
stock firmware we got to use it in that same way (we are not
compatible with the QNAP-branded identical hardware device anyway).

Currently, on sysupgrade the result is that one ends up with the old
content of rootfs_data (a GPT partition on those devices) as nothing
ever wipes or in any way re-creates the filesystem there. As a simple
work-around, let's kill the filesystem on rootfs_data so fstools
re-formats it on the next boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit d4e8653e1e9ec90404d12ea24fb0f8e507b337d5)
2024-04-12 01:51:51 +01:00
..
2023-08-10 21:07:50 +02:00
2024-04-01 02:33:05 +02:00
2023-09-25 23:04:37 +02:00
2024-04-01 02:33:05 +02:00
2024-01-08 23:15:35 +01:00
2024-03-29 14:06:15 +01:00
2024-02-10 20:19:28 +01:00
2024-04-01 02:33:05 +02:00
2024-02-10 20:19:28 +01:00
2024-01-08 23:15:35 +01:00
2024-04-01 02:33:05 +02:00
2024-04-01 02:33:05 +02:00
2023-07-06 17:04:13 +02:00
2024-01-07 12:57:30 +00:00
2024-04-01 02:33:05 +02:00
2024-04-01 02:33:05 +02:00
2024-04-01 02:33:05 +02:00
2023-10-31 00:44:03 +01:00
2023-09-25 23:04:37 +02:00
2023-11-25 20:17:09 +01:00