mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Merge pull request #2282 from iam-TJ/issue2281_crypto_keyfile
fstab: do not overwrite partition["mountPoint"]
This commit is contained in:
commit
60989290e0
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
import os
|
||||
import re
|
||||
import copy
|
||||
|
||||
import libcalamares
|
||||
|
||||
|
@ -201,7 +202,7 @@ class FstabGenerator(object):
|
|||
# so all subvolumes here should be safe to add to fstab
|
||||
btrfs_subvolumes = libcalamares.globalstorage.value("btrfsSubvolumes")
|
||||
for s in btrfs_subvolumes:
|
||||
mount_entry = partition
|
||||
mount_entry = copy.deepcopy(partition)
|
||||
mount_entry["mountPoint"] = s["mountPoint"]
|
||||
mount_entry["subvol"] = s["subvolume"]
|
||||
dct = self.generate_fstab_line_info(mount_entry)
|
||||
|
|
Loading…
Add table
Reference in a new issue