mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-09 04:15:47 +00:00
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@sartura.hr>
This commit is contained in:
parent
23191b4075
commit
149a1ab273
@ -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 /
|
||||
|
Loading…
x
Reference in New Issue
Block a user