From: Robert Marko Date: Mon, 10 Jul 2023 11:43:51 +0000 (+0200) Subject: mvebu: uDPU/eDPU: mount misc partition with ZSTD compression X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=149a1ab273ca5b8582c6e02c7aa99cf9887c4437;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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 /