Get configured subvolumes from the global storage

main
Chrysostomus 4 years ago
parent 092374d08c
commit 14fbbd92dc

@ -192,7 +192,9 @@ class FstabGenerator(object):
'list', 'list',
self.root_mount_point]) self.root_mount_point])
output_lines = output.splitlines() output_lines = output.splitlines()
btrfs_subvolumes = libcalamares.globalstorage.value("btrfsSubvolumes")
for line in output_lines: for line in output_lines:
# This is where changes need to go
if line.endswith(b'path @'): if line.endswith(b'path @'):
root_entry = partition root_entry = partition
root_entry["subvol"] = "@" root_entry["subvol"] = "@"

Loading…
Cancel
Save