Fix Btrfs subvolume mount options (#3108)
This commit is contained in:
parent
47736c4060
commit
6681501904
|
|
@ -363,8 +363,8 @@ class Installer:
|
||||||
) -> None:
|
) -> None:
|
||||||
for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
|
for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
|
||||||
mountpoint = self.target / subvol.relative_mountpoint
|
mountpoint = self.target / subvol.relative_mountpoint
|
||||||
mount_options = mount_options + [f'subvol={subvol.name}']
|
options = mount_options + [f'subvol={subvol.name}']
|
||||||
disk.device_handler.mount(dev_path, mountpoint, options=mount_options)
|
disk.device_handler.mount(dev_path, mountpoint, options=options)
|
||||||
|
|
||||||
def generate_key_files(self) -> None:
|
def generate_key_files(self) -> None:
|
||||||
match self._disk_encryption.encryption_type:
|
match self._disk_encryption.encryption_type:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue