Remove some unnecessary bits
This commit is contained in:
parent
4b6718b354
commit
f53f43ad03
@ -89,10 +89,8 @@ def mount_partition(root_mount_point, partition, partitions):
|
||||
if "mountPoint" not in p or not p["mountPoint"]:
|
||||
continue
|
||||
if p["mountpoint"] in subvolume_mountpoints and p["mountpoint"] != '/':
|
||||
# mountpoint is already defined, remove subvolume from the list
|
||||
btrfs_subvolumes = [d for d in btrfs_subvolumes if d['mountPoint'] != p["mountpoint"]]
|
||||
# Check if we need a subvolume for swap file
|
||||
needs_swap_subvolume = False
|
||||
swap_choice = global_storage.value( "partitionChoices" )
|
||||
if swap_choice:
|
||||
swap_choice = swap_choice.get( "swap", None )
|
||||
|
Loading…
Reference in New Issue
Block a user