]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: fix parsing of modules.order with compressed modules
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 3 Oct 2012 19:28:24 +0000 (16:28 -0300)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 3 Oct 2012 19:29:36 +0000 (16:29 -0300)
commit88c247f7f18ac25181ddcaff97fbbecbd3a29f57
tree4c01236b51fef6560c36baf58c7ef088c089d08c
parentc5b37dba8956dd8f82c54b9f97dc5dca07940db5
depmod: fix parsing of modules.order with compressed modules

We now index the modules by uncompressed-relative-path instead of
relative-path. This is because the file modules.order, coming from
kernel, always comes with uncompressed paths. This fixes the issue of
not sorting the aliases correctly due to paths not matching when using
compressed modules.
tools/depmod.c