mbox series

[0/3] Fix modules.builtin.alias.bin creation

Message ID 20210511180615.400191-1-lucas.demarchi@intel.com (mailing list archive)
Headers show
Series Fix modules.builtin.alias.bin creation | expand

Message

Lucas De Marchi May 11, 2021, 6:06 p.m. UTC
When modules.builtin.modinfo is not present we shouldn't really write
an empty index. And when it is present, we shouln't truncate the file.

By differentiating empty index from 0-sized index, libkmod will later
know if it should fallback to the old modules.builtin index or if it
will give up searching for the module.

Lucas De Marchi (3):
  Fix return value doc for kmod_module_get_info()
  depmod: fix modules.builtin.alias.bin output
  testsuite: update gitignore

 libkmod/libkmod-module.c               | 2 +-
 testsuite/module-playground/.gitignore | 2 +-
 tools/depmod.c                         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)