summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-04 15:50:28 +0200
committerDave Reisner <dreisner@archlinux.org>2012-05-16 23:55:51 +0200
commit3af39a17e9e110f1612626386672efe9469f1872 (patch)
tree5093dffcfd710da01b0fcaa999e5edebd6db6c0d
parent9340f901fec092fde44c8322bb500c4d18f0f222 (diff)
downloadmkinitcpio-3af39a17e9e110f1612626386672efe9469f1872.tar.gz
mkinitcpio-3af39a17e9e110f1612626386672efe9469f1872.tar.xz
use MODULEDIR as reference for *.(order|builtin) files
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 9a74a8b..4fb48e4 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -400,7 +400,7 @@ if (( ${#ADDED_MODULES[*]} )); then
msg "Generating module dependencies"
install -m644 -t "$BUILDROOT/usr/lib/modules/$KERNELVERSION" \
- "/lib/modules/$KERNELVERSION"/modules.{builtin,order}
+ "$MODULEDIR"/modules.{builtin,order}
depmod -b "$BUILDROOT" "$KERNELVERSION"
# remove all non-binary module.* files (except devname for on-demand module loading)