Skip to content

Commit a9569a1

Browse files
committed
fix typo
Signed-off-by: Zen <[email protected]>
1 parent 574b2f1 commit a9569a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ugrd/kmod/kmod.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '2.1.2'
2+
__version__ = '2.1.3'
33

44
from pathlib import Path
55
from subprocess import run
@@ -65,7 +65,7 @@ def _get_kmod_info(self, module: str):
6565
raise DependencyResolutionError("[%s] Failed to run modinfo command: %s" % (module, ' '.join(args))) from e
6666

6767
if not cmd.stdout and cmd.stderr:
68-
raise DependencyResolutionError("[%s] Modifo returned no output." % module)
68+
raise DependencyResolutionError("[%s] Modinfo returned no output." % module)
6969

7070
module_info = {}
7171
for line in cmd.stdout.decode().split('\n'):
@@ -187,6 +187,7 @@ def _add_kmod_firmware(self, kmod: str) -> None:
187187
for firmware in self['_kmod_modinfo'][kmod]['firmware']:
188188
firmware_path = Path('/lib/firmware') / firmware
189189
if not firmware_path.exists():
190+
# Really, this should be a huge error, but with xhci_pci, it wants some renesas firmware that's not in linux-firmware and doesn't seem to matter
190191
self.logger.error("[%s] Firmware file does not exist: %s" % (kmod, firmware_path))
191192
continue
192193
self.logger.debug("[%s] Adding firmware file to dependencies: %s" % (kmod, firmware_path))

0 commit comments

Comments
 (0)