Skip to content

Commit df6a133

Browse files
alex3digorpecovnik
authored andcommitted
partitioning: fix compressed BTRFS creation
1 parent 000c787 commit df6a133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions/image/partitioning.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ function prepare_partitions() {
352352

353353
run_host_command_logged umount $rootdevice
354354
display_alert "Remounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})"
355-
run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} $rootdevice $MOUNT/
355+
run_host_command_logged mount -odefaults,${mountopts[$ROOTFS_TYPE]} ${fscreateopt} $rootdevice $MOUNT/
356356
fi
357357
rootfs="UUID=$(blkid -s UUID -o value $rootdevice)"
358358
echo "$rootfs / ${mkfs[$ROOTFS_TYPE]} defaults,${mountopts[$ROOTFS_TYPE]} 0 1" >> $SDCARD/etc/fstab

0 commit comments

Comments
 (0)