From 14fbbd92dc367f56ce85c619165421e307093e84 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Tue, 26 Jan 2021 22:56:31 +0200 Subject: [PATCH] Get configured subvolumes from the global storage --- src/modules/fstab/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/fstab/main.py b/src/modules/fstab/main.py index 6977ccad1..ed73f2f0f 100644 --- a/src/modules/fstab/main.py +++ b/src/modules/fstab/main.py @@ -192,7 +192,9 @@ class FstabGenerator(object): 'list', self.root_mount_point]) output_lines = output.splitlines() + btrfs_subvolumes = libcalamares.globalstorage.value("btrfsSubvolumes") for line in output_lines: + # This is where changes need to go if line.endswith(b'path @'): root_entry = partition root_entry["subvol"] = "@"