File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11__author__ = 'desultory'
2- __version__ = '2.5.4 '
2+ __version__ = '2.5.5 '
33
44from pathlib import Path
55from subprocess import run
@@ -84,7 +84,7 @@ def _get_kmod_info(self, module: str):
8484 module_info ['softdep' ] = line .split ()[2 ::2 ]
8585 elif line .startswith ('firmware:' ):
8686 # Firmware is a list, so append to it, making sure it exists first
87- if 'firmware' not in module_info :
87+ oh wait i think i imssed if 'firmware' not in module_info :
8888 module_info ['firmware' ] = []
8989 module_info ['firmware' ] += line .split ()[1 :]
9090
@@ -204,7 +204,10 @@ def _process_kmod_dependencies(self, kmod: str) -> None:
204204 if modinfo ['filename' ] != '(builtin)' : # But if it's ignored because it's built-in, that's fine
205205 raise DependencyResolutionError ("[%s] Kernel module dependency is in ignore list: %s" % (kmod , dependency ))
206206 self .logger .debug ("[%s] Processing dependency: %s" % (kmod , dependency ))
207- _process_kmod_dependencies (self , dependency )
207+ try :
208+ _process_kmod_dependencies (self , dependency )
209+ except BuiltinModuleError as e :
210+ self .logger .debug (e )
208211 self ['kernel_modules' ] = dependency
209212
210213 if self ['_kmod_modinfo' ][kmod ]['filename' ] == '(builtin)' :
You can’t perform that action at this time.
0 commit comments