diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-05 19:56:41 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-16 20:19:12 +0200 |
commit | 64aff3644e9c0b8813cce377c9850dd7906e8056 (patch) | |
tree | 6505c56a886b0a19f230bf83a43d4b4608033730 /hooks/memdisk | |
parent | 32e3a80c2a8bd9c1278db3e33ea9b5963db0218a (diff) | |
download | mkinitcpio-64aff3644e9c0b8813cce377c9850dd7906e8056.tar.gz mkinitcpio-64aff3644e9c0b8813cce377c9850dd7906e8056.tar.xz |
functions: refactor add_module
Simplify and fix a few bugs in the process. We rely solely on modinfo
for obtaining information about module location, dependencies and
firmware. Add a small wrapper function for modinfo that will always
specify our $BASEDIR and $KERNELVERSION for us.
Also, kill off HAS_MODULES. Since we have ADDED_MODULES, which contains
all currently added modules, we can count the elements in this when it
comes time to decide to create depmod files.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'hooks/memdisk')
0 files changed, 0 insertions, 0 deletions