Skip to content

Commit 688bed0

Browse files
committed
refactor add_btrfs_deps into pull_btrfs_userspace
1 parent d1dc6c7 commit 688bed0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ugrd/fs/btrfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ def set_root_subvol(self) -> str:
138138
return f"""setvar root_extra_options ',subvol={self["root_subvol"]}'"""
139139

140140
@contains("btrfs_userspace", message="btrfs_userspace is disabled, skipping adding btrfs to binaries list.")
141-
def add_btrfs_deps(self):
141+
def pull_btrfs_userspace(self):
142142
self.logger.debug("Adding btrfs to binaries list.")
143143
self["binaries"] = "btrfs"

src/ugrd/fs/btrfs.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ btrfs_userspace = true
1212
"ugrd.fs.btrfs" = [ "autodetect_root_subvol" ]
1313

1414
[imports.build_late]
15-
"ugrd.fs.btrfs" = [ "add_btrfs_deps" ]
15+
"ugrd.fs.btrfs" = [ "pull_btrfs_userspace" ]
1616

1717
[imports.init_mount]
1818
"ugrd.fs.btrfs" = [ "btrfs_scan", "set_root_subvol", "select_subvol" ]

0 commit comments

Comments
 (0)