From 9b17abfc946a1cdb348e0d31c883cef621fdcef5 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 16 Apr 2012 08:34:58 -0400 Subject: mkinitcpio: refer to /usr/lib/modules uniformly This should have been done as part of b65cf9cd9. Signed-off-by: Dave Reisner --- mkinitcpio | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mkinitcpio b/mkinitcpio index a5199c8..bb85f7f 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -359,18 +359,18 @@ trap '(( ++builderrors ))' ERR if (( ${#ADDED_MODULES[*]} )); then printf '%s\0' "${MODPATHS[@]}" | sort -zu | - xargs -0 cp -t "$BUILDROOT/lib/modules/$KERNELVERSION/kernel" + xargs -0 cp -t "$BUILDROOT/usr/lib/modules/$KERNELVERSION/kernel" # unzip modules prior to recompression - gzip -dr "$BUILDROOT/lib/modules/$KERNELVERSION/kernel" + gzip -dr "$BUILDROOT/usr/lib/modules/$KERNELVERSION/kernel" msg "Generating module dependencies" - install -m644 -t "$BUILDROOT/lib/modules/$KERNELVERSION" \ + install -m644 -t "$BUILDROOT/usr/lib/modules/$KERNELVERSION" \ "$BASEDIR/lib/modules/$KERNELVERSION"/modules.{builtin,order} - depmod -b "$BUILDROOT" "${KERNELVERSION}" + depmod -b "$BUILDROOT" "$KERNELVERSION" # remove all non-binary module.* files (except devname for on-demand module loading) - rm "$BUILDROOT/lib/modules/$KERNELVERSION"/modules.!(*.bin|devname) + rm "$BUILDROOT/usr/lib/modules/$KERNELVERSION"/modules.!(*.bin|devname) else warning "No modules were added to the image. This is probably not what you want." -- cgit v1.2.3-24-g4f1b