From 092374d08ce67bdb21d77bcc02c4ad052828c302 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Tue, 26 Jan 2021 22:48:02 +0200 Subject: [PATCH] Add modified list to global storage --- src/modules/mount/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/mount/main.py b/src/modules/mount/main.py index 17041fdc5..7a6c1f176 100644 --- a/src/modules/mount/main.py +++ b/src/modules/mount/main.py @@ -96,6 +96,8 @@ def mount_partition(root_mount_point, partition, partitions): swap_choice = swap_choice.get( "swap", None ) if swap_choice and swap_choice == "file": btrfs_subvolumes.append({'mountPoint': '/swap', 'subvolume': '/@swap'}) + # Store created list in global storage so it can be used in the fstab module + libcalamares.globalstorage.insert("btrfsSubvolumes", btrfs_subvolumes) # Create the subvolumes that are in the completed list for s in btrfs_subvolumes: subprocess.check_call(['btrfs', 'subvolume', 'create',