Re: [PATCH 0/2] Allow passing module files to modprobe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 11, 2023 at 12:29:34PM -0300, Gustavo Sousa wrote:
> This patch series allows modprobe to be called with a direct path to a
> module object. This is specially useful for testing just compiled modules when
> they have dependencies, which are loaded with insmod.

Oops, s/which are loaded/which are not loaded/

> 
> Gustavo Sousa (2):
>   modprobe: Move insertion block into separate function
>   modprobe: Allow passing path to module
> 
>  man/modprobe.xml                              |   5 +
>  testsuite/populate-modules.sh                 |   1 +
>  .../lib/modules/4.4.4/modules.alias           |   1 +
>  .../lib/modules/4.4.4/modules.alias.bin       | Bin 0 -> 12 bytes
>  .../lib/modules/4.4.4/modules.builtin.bin     |   0
>  .../lib/modules/4.4.4/modules.dep             |   1 +
>  .../lib/modules/4.4.4/modules.dep.bin         | Bin 0 -> 73 bytes
>  .../lib/modules/4.4.4/modules.devname         |   0
>  .../lib/modules/4.4.4/modules.softdep         |   1 +
>  .../lib/modules/4.4.4/modules.symbols         |   1 +
>  .../lib/modules/4.4.4/modules.symbols.bin     | Bin 0 -> 12 bytes
>  .../module-from-path/proc/modules             |   0
>  testsuite/test-modprobe.c                     |  22 ++++
>  tools/modprobe.c                              | 111 +++++++++++-------
>  14 files changed, 98 insertions(+), 45 deletions(-)
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.alias
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.alias.bin
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.builtin.bin
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.dep
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.dep.bin
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.devname
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.softdep
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.symbols
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/lib/modules/4.4.4/modules.symbols.bin
>  create mode 100644 testsuite/rootfs-pristine/test-modprobe/module-from-path/proc/modules
> 
> -- 
> 2.39.0
> 



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux