From df6a133a144d30846436c86c818f4921cf0eb6f6 Mon Sep 17 00:00:00 2001 From: alex3d Date: Fri, 16 May 2025 09:58:15 +0300 Subject: [PATCH] partitioning: fix compressed BTRFS creation --- lib/functions/image/partitioning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/image/partitioning.sh b/lib/functions/image/partitioning.sh index 11e21a62c..68d7ca9ec 100644 --- a/lib/functions/image/partitioning.sh +++ b/lib/functions/image/partitioning.sh @@ -352,7 +352,7 @@ function prepare_partitions() { run_host_command_logged umount $rootdevice display_alert "Remounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})" - run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} $rootdevice $MOUNT/ + run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} ${fscreateopt} $rootdevice $MOUNT/ fi rootfs="UUID=$(blkid -s UUID -o value $rootdevice)" echo "$rootfs / ${mkfs[$ROOTFS_TYPE]} defaults,${mountopts[$ROOTFS_TYPE]} 0 1" >> $SDCARD/etc/fstab