[openwrt/openwrt] mvebu: cortexa53: include mkfs.f2fs and fdisk for sysupgrade

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 17 11:54:15 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/793b925f8b35e278114bb3ab92564bae8b678122

commit 793b925f8b35e278114bb3ab92564bae8b678122
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Mon Jul 10 13:37:42 2023 +0200

    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 <robert.marko at sartura.hr>
---
 target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 




More information about the lede-commits mailing list