Skip to content

Commit 13e5c04

Browse files
committed
Reff formatting
1 parent d2cb773 commit 13e5c04

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

archinstall/lib/installer.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)