Skip to content

Commit bcb44c0

Browse files
committed
don't mask mount_root, since it should work with it now
Signed-off-by: Zen <[email protected]>
1 parent 8b3e55e commit bcb44c0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/ugrd/fs/btrfs.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
1-
__version__ = '1.0.1'
1+
__version__ = '1.1.0'
22
__author__ = 'desultory'
33

44

55
def _process_root_subvol(self, root_subvol: str) -> None:
6-
""" processes the root subvolume, masks the mount_root function. """
6+
""" processes the root subvolume. """
77
self.update({'root_subvol': root_subvol})
88
self.logger.debug("Set root_subvol to: %s", root_subvol)
9-
self['masks'] = {'init_mount': 'mount_root'}
109

1110

1211
def _process_subvol_selector(self, subvol_selector: bool) -> None:
1312
"""
1413
Processes the subvol selector parameter
1514
Adds the base_mount_paths to paths if enabled.
16-
Masks the mount_root function if enabled.
1715
"""
1816
if subvol_selector:
1917
self.update({'subvol_selector': subvol_selector})
2018
self.logger.debug("Set subvol_selector to: %s", subvol_selector)
2119
self['paths'] = self['base_mount_path']
22-
self['masks'] = {'init_mount': 'mount_root'}
2320

2421

2522
def btrfs_scan(self) -> str:

0 commit comments

Comments
 (0)