mvebu: cortexa53: include mkfs.f2fs and fdisk for sysupgrade
authorRobert Marko <robert.marko@sartura.hr>
Mon, 10 Jul 2023 11:37:42 +0000 (13:37 +0200)
committerRobert Marko <robert.marko@sartura.hr>
Mon, 17 Jun 2024 18:16:19 +0000 (20:16 +0200)
Methode devices require mkfs.f2fs in order to format rootfs and misc
partitions if they have not already been formatted.
fdisk is required if partition table got broke so it can be regenerated.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh

index cd41c39d7c7ab183dc840d4830fda60ede70114e..f77f15ecab6c36f54d60582c688a7d345fa51e7d 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (C) 2016 LEDE-Project.org
 #
 
-RAMFS_COPY_BIN='fw_printenv fw_setenv'
+RAMFS_COPY_BIN='fw_printenv fw_setenv mkfs.f2fs fdisk'
 RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
 REQUIRE_IMAGE_METADATA=1