Skip to content

Commit 7345c02

Browse files
committed
just set the basedir, not the outdir, as outdir is newer and -b works
Signed-off-by: Zen <[email protected]>
1 parent e9c025d commit 7345c02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ugrd/kmod/kmod.py

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

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

227227

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

0 commit comments

Comments
 (0)