[openwrt/openwrt] mvebu: uDPU/eDPU: mount misc partition with ZSTD compression

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


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/149a1ab273ca5b8582c6e02c7aa99cf9887c4437

commit 149a1ab273ca5b8582c6e02c7aa99cf9887c4437
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Mon Jul 10 13:43:51 2023 +0200

    mvebu: uDPU/eDPU: mount misc partition with ZSTD compression
    
    F2FS requires the compression algorith to be passed as argument while
    mounting, so lets do so for the misc partition.
    
    Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
 target/linux/mvebu/cortexa53/base-files/lib/preinit/82_uDPU | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mvebu/cortexa53/base-files/lib/preinit/82_uDPU b/target/linux/mvebu/cortexa53/base-files/lib/preinit/82_uDPU
index 8d5a482b82..1c72d0fe66 100644
--- a/target/linux/mvebu/cortexa53/base-files/lib/preinit/82_uDPU
+++ b/target/linux/mvebu/cortexa53/base-files/lib/preinit/82_uDPU
@@ -15,7 +15,7 @@ preinit_mount_udpu() {
 
 		if [ -b "${mmcdev}p4" ]; then
 			mkdir /misc
-			mount -t f2fs ${mmcdev}p4 /misc
+			mount -o compress_algorithm=zstd -t f2fs ${mmcdev}p4 /misc
 			[ -f "/misc/$BACKUP_FILE" ] && {
 				echo "- Restoring configuration files -"
 				tar xzf "/misc/$BACKUP_FILE" -C /




More information about the lede-commits mailing list