]> git.ipfire.org Git - thirdparty/kmod.git/commit - tools/depmod.c
depmod: Do not duplicate builtin index
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 10 Feb 2022 02:46:34 +0000 (18:46 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 12 Feb 2022 06:06:34 +0000 (22:06 -0800)
commit7a0f593de3bef04b8f8d35e51f76995d0493d007
tree97de9ef986f5d4a1859e47a2a6800c7a4751873d
parenta965641625dab1688b202e1f8b8b52497d75eeb1
depmod: Do not duplicate builtin index

Now that libkmod uses modules.builtin.bin again, we don't need to add
the module names in modules.builtin.alias.bin and just add the aliases.

After this change, here are the new sizes for the indexes:

Before After index
21k 6.4K modules.builtin.alias.bin
11k  11K modules.builtin.bin
tools/depmod.c