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
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ preinit_mount_udpu() {
|
||||||
|
|
||||||
if [ -b "${mmcdev}p4" ]; then
|
if [ -b "${mmcdev}p4" ]; then
|
||||||
mkdir /misc
|
mkdir /misc
|
||||||
mount -t f2fs ${mmcdev}p4 /misc
|
mount -o compress_algorithm=zstd -t f2fs ${mmcdev}p4 /misc
|
||||||
[ -f "/misc/$BACKUP_FILE" ] && {
|
[ -f "/misc/$BACKUP_FILE" ] && {
|
||||||
echo "- Restoring configuration files -"
|
echo "- Restoring configuration files -"
|
||||||
tar xzf "/misc/$BACKUP_FILE" -C /
|
tar xzf "/misc/$BACKUP_FILE" -C /
|
||||||
|
|
Loading…
Reference in a new issue