From: Robert Marko Date: Mon, 10 Jul 2023 11:37:42 +0000 (+0200) Subject: mvebu: cortexa53: include mkfs.f2fs and fdisk for sysupgrade X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=793b925f8b35e278114bb3ab92564bae8b678122;p=openwrt%2Fstaging%2Fxback.git mvebu: cortexa53: include mkfs.f2fs and fdisk for sysupgrade 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 --- diff --git a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh index cd41c39d7c..f77f15ecab 100755 --- a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh @@ -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