From 6d64aa40f725de02ac8124fcbbe2ab5ab2c844a6 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Thu, 9 Jun 2022 20:53:35 -0500 Subject: [PATCH] Moved config from fstab.conf to mount.conf for Calamares 3.3.0 compatibility. --- ubuntustudio/modules/fstab.conf | 9 --------- ubuntustudio/modules/mount.conf | 22 ++++++++++++++++++---- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/ubuntustudio/modules/fstab.conf b/ubuntustudio/modules/fstab.conf index 2f4a016..54b6d10 100644 --- a/ubuntustudio/modules/fstab.conf +++ b/ubuntustudio/modules/fstab.conf @@ -1,11 +1,2 @@ -mountOptions: - default: defaults - btrfs: defaults,noatime,autodefrag -ssdExtraMountOptions: - ext4: discard - jfs: discard - xfs: discard - swap: discard - btrfs: discard,compress=lzo crypttabOptions: luks,keyscript=/bin/cat efiMountOptions: umask=0077 diff --git a/ubuntustudio/modules/mount.conf b/ubuntustudio/modules/mount.conf index 1efd5dd..155dca1 100644 --- a/ubuntustudio/modules/mount.conf +++ b/ubuntustudio/modules/mount.conf @@ -7,15 +7,29 @@ extraMounts: mountPoint: /sys - device: /dev mountPoint: /dev - options: bind + options: [ bind ] - device: tmpfs fs: tmpfs mountPoint: /run - device: /run/udev mountPoint: /run/udev - options: bind - -extraMountsEfi: + options: [ bind ] - device: efivarfs fs: efivarfs mountPoint: /sys/firmware/efi/efivars + efi: true + +mountOptions: + - filesystem: default + options: [ defaults ] + - filesystem: btrfs + options: [ defaults, noatime, autodefrag ] + ssdOptions: [ discard, compress=lzo ] + - filesystem: ext4 + ssdOptions: [ discard ] + - filesystem: jfs + ssdOptions: [ discard ] + - filesystem: xfs + ssdOptions: [ discard ] + - filesystem: swap + ssdOptions: [ discard ]