diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-31 02:15:54 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-01-31 21:44:38 +0100 |
commit | 49c9c9fc1b37610a87fe3cf9f5e7b5785672264d (patch) | |
tree | 340b30a2d0c60dea519d7d6f86357f904b6af610 /mkinitcpio.d/example.preset | |
parent | 643e98eeb42677a9ce8c32fa44d4ee61d02f7fcf (diff) | |
download | mkinitcpio-49c9c9fc1b37610a87fe3cf9f5e7b5785672264d.tar.gz mkinitcpio-49c9c9fc1b37610a87fe3cf9f5e7b5785672264d.tar.xz |
Short circuit add module if it already exists in image
Rather than go through all the hoops, check if the module has already
been added by looking for its file path and skip the addition early if
we can. This helps especially in modules with many recursive
dependencies, and is most noticable when generating a full image with
many modules.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mkinitcpio.d/example.preset')
0 files changed, 0 insertions, 0 deletions