We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a6c35 commit 574b2f1Copy full SHA for 574b2f1
src/ugrd/kmod/kmod.py
@@ -1,5 +1,5 @@
1
__author__ = 'desultory'
2
-__version__ = '2.1.1'
+__version__ = '2.1.2'
3
4
from pathlib import Path
5
from subprocess import run
@@ -186,6 +186,9 @@ def _add_kmod_firmware(self, kmod: str) -> None:
186
187
for firmware in self['_kmod_modinfo'][kmod]['firmware']:
188
firmware_path = Path('/lib/firmware') / firmware
189
+ if not firmware_path.exists():
190
+ self.logger.error("[%s] Firmware file does not exist: %s" % (kmod, firmware_path))
191
+ continue
192
self.logger.debug("[%s] Adding firmware file to dependencies: %s" % (kmod, firmware_path))
193
self['dependencies'] = firmware_path
194
0 commit comments