From d65c5a88491371b0b440ef453f424913c19dd82c Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 17 Mar 2022 09:16:32 +0100 Subject: [PATCH] copy mmodules to correct directory --- usr/share/archboot/patches/31-initcpio.functions.fixed | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/share/archboot/patches/31-initcpio.functions.fixed b/usr/share/archboot/patches/31-initcpio.functions.fixed index 99efb6233..273911cb0 100644 --- a/usr/share/archboot/patches/31-initcpio.functions.fixed +++ b/usr/share/archboot/patches/31-initcpio.functions.fixed @@ -871,13 +871,12 @@ install_modules() { return 0 fi for i in "$@"; do - install -D -m644 "$i" "$BUILDROOT" + install -D -m644 "$i" "$BUILDROOT/$i" done msg "Generating module dependencies" install -m644 -t "$moduledest" "$_d_kmoduledir"/modules.builtin install -m644 -t "$moduledest" "$_d_kmoduledir"/modules.order - depmod -b "$BUILDROOT" "$KERNELVERSION" # remove all non-binary module.* files (except devname for on-demand module loading)