From a3b7c93bc511dbc9991df5c9260a051aed117ef8 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Mon, 6 Jun 2022 22:53:02 -0500 Subject: [PATCH] Moved mount options from fstab.conf to mount.conf for Calamares 3.3.0 compatibility. --- lubuntu/modules/fstab.conf | 9 --------- lubuntu/modules/mount.conf | 22 ++++++++++++++++++---- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/lubuntu/modules/fstab.conf b/lubuntu/modules/fstab.conf index 2f4a016..54b6d10 100644 --- a/lubuntu/modules/fstab.conf +++ b/lubuntu/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/lubuntu/modules/mount.conf b/lubuntu/modules/mount.conf index 1efd5dd..155dca1 100644 --- a/lubuntu/modules/mount.conf +++ b/lubuntu/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 ]