calamares/src/modules/mount
Jeremy Whiting deb35d8b49 If a mountPoint has subvolume: "" don't use subvol= arguments.
When testing with a / mountPoint set to subvolume: "" it tried and
failed to mount the subvolume:

    .. Running ("mount", "-t", "btrfs", "-o", "subvol=,", "/dev/sda3", "/tmp/calamares-root-ylvhpxys/")
    .. Target cmd: ("mount", "-t", "btrfs", "-o", "subvol=,", "/dev/sda3", "/tmp/calamares-root-ylvhpxys/") Exit code: 32 output:
 mount: /tmp/calamares-root-ylvhpxys: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error.

This fix makes the following config in mount.conf let us drop out of any
subvolume handling:

btrfsSubvolumes:
    - mountPoint: /
      subvolume: ""
2023-11-03 08:27:36 -06:00
..
tests [mount] Repair test-config files against schema 2022-06-27 23:04:12 +02:00
main.py If a mountPoint has subvolume: "" don't use subvol= arguments. 2023-11-03 08:27:36 -06:00
module.desc REUSE: (CC0-1.0) module descriptors and configuration files 2020-08-26 02:22:49 +02:00
mount.conf [mount] Fix typo in mount.conf comments 2021-12-30 10:01:03 -06:00
mount.schema.yaml [mount] Update schema to use arrays 2022-05-09 06:50:33 -05:00