~registry/kmod/master

Viewing all changes in revision 1283.

  • Committer: Lucas De Marchi
  • Author(s): Gustavo Sousa
  • Date: 2023-01-14 00:48:02 UTC
  • Revision ID: git-v1:883d931d1bd04b089b85b554d1df6f41dcf5fbf5
modprobe: Allow passing path to module

This is useful to kernel module developers for testing a just compiled
module: instead of using insmod, they can load the module from the path
while getting all the benefits of modprobe (e.g. module dependency
resolution).

v2:
  - Add test for relative path as well. (Lucas)
  - Add note warning about modules with dependencies not matching the
    installed depmod database. (Lucas)

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: