diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 18:07:46 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-02 04:15:24 +0200 |
commit | 491a99b8a2531207121d651d8e4b15fe4febbd2b (patch) | |
tree | e0c0634bcfa15bc2facc415ddbd1ff644d8f4d46 /init | |
parent | 3d42f00ecb01206e27640a40616ca51c71153624 (diff) | |
download | mkinitcpio-491a99b8a2531207121d651d8e4b15fe4febbd2b.tar.gz mkinitcpio-491a99b8a2531207121d651d8e4b15fe4febbd2b.tar.xz |
install modules all at once
build an array of paths to modules, and install them all at once with
mkdir -p and cp --parents. Cuts back on our major source of calls to
install(1).
This is a tad ugly in that it creates some amount of data duplication,
keeping an array of paths in addition to module names. However, turns
out to be a worthwhile tradeoff as merging the two datasets into one
results in the need for massive string trimming.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions