]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Prefer builtin index over builtin.alias
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 10 Feb 2022 02:21:03 +0000 (18:21 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 12 Feb 2022 06:06:33 +0000 (22:06 -0800)
commita965641625dab1688b202e1f8b8b52497d75eeb1
treebedc5f6a010a9f1b82a8f15074acf3b2061da5a0
parent4e391ac92d1b9a2c8c0e9d8735d2913ee86c0ad8
libkmod: Prefer builtin index over builtin.alias

The modules.builtin.alias.bin is way larger than the
modules.builtin.bin.  On a normal "distro kernel":

21k modules.builtin.alias.bin
11k modules.builtin.bin

From the kernel we get both modules.builtin and modules.builtin.modinfo.
depmod generates modules.builtin.bin and modules.builtin.alias.bin
from them respectively. modules.bultin is not going away: it's not
deprecated by the new index added. So, let's just stop duplicating the
information inside modules.builtin.alias.bin and just use the other
index.
libkmod/libkmod-module.c