[arch-projects] [mkinitcpio][PATCH 01/19] use MODULEDIR as reference for *.(order|builtin) files

Dave Reisner dreisner at archlinux.org
Sun May 13 13:57:04 EDT 2012


---
 mkinitcpio |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.7.10.2



More information about the arch-projects mailing list