Skip to content

Commit

Permalink
just set the basedir, not the outdir, as outdir is newer and -b works
Browse files Browse the repository at this point in the history
Signed-off-by: Zen <[email protected]>
  • Loading branch information
desultory committed Aug 24, 2024
1 parent e9c025d commit 7345c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ugrd/kmod/kmod.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__author__ = 'desultory'
__version__ = '2.12.2'
__version__ = '2.12.3'

from pathlib import Path
from subprocess import run
Expand Down Expand Up @@ -222,7 +222,7 @@ def regen_kmod_metadata(self) -> None:
""" Regenerates kernel module metadata files using depmod. """
self.logger.info("Regenerating kernel module metadata files.")
build_dir = self._get_build_path('/')
self._run(['depmod', '--basedir', build_dir, '--outdir', build_dir, self['kernel_version']])
self._run(['depmod', '--basedir', build_dir, self['kernel_version']])


def _add_kmod_firmware(self, kmod: str) -> None:
Expand Down

0 comments on commit 7345c02

Please sign in to comment.