File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -248,11 +248,7 @@ def _verify_bcachefs_support(self) -> None:
248248 Since bcachefs was removed from kernel 6.18+, it requires bcachefs-dkms.
249249 """
250250 # Check if any partition uses bcachefs
251- if not any (
252- part .fs_type == FilesystemType .Bcachefs
253- for mod in self ._disk_config .device_modifications
254- for part in mod .partitions
255- ):
251+ if not any (part .fs_type == FilesystemType .Bcachefs for mod in self ._disk_config .device_modifications for part in mod .partitions ):
256252 return
257253
258254 # Check if module was manually loaded
@@ -263,13 +259,11 @@ def _verify_bcachefs_support(self) -> None:
263259 info ('Installing bcachefs packages...' )
264260
265261 try :
266- # Use mainline headers and build dkms to load modules
262+ # Use mainline headers and build dkms to load modules #
267263 Pacman .run ('-Sy --noconfirm --needed linux-headers bcachefs-dkms ' )
268264 info ('Bcachefs packages installed successfully. DKMS will load the module.' )
269265 except SysCallError as err :
270- raise RequirementError (
271- f'Failed to install bcachefs-dkms: { err } '
272- )
266+ raise RequirementError (f'Failed to install bcachefs-dkms: { err } ' )
273267
274268 def mount_ordered_layout (self ) -> None :
275269 # Ensure bcachefs support is available before attempting to mount
You can’t perform that action at this time.
0 commit comments