diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-04 15:50:28 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-05-16 23:55:51 +0200 |
commit | 3af39a17e9e110f1612626386672efe9469f1872 (patch) | |
tree | 5093dffcfd710da01b0fcaa999e5edebd6db6c0d | |
parent | 9340f901fec092fde44c8322bb500c4d18f0f222 (diff) | |
download | mkinitcpio-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-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |