summaryrefslogtreecommitdiff
path: root/repo/linux
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-18 21:12:22 +0000
committerdavidovski <david@davidovski.xyz>2022-01-18 21:12:22 +0000
commit953a9d2446f090eb8afbe1e3bdd1632f0ae8cc15 (patch)
treebb683547cb32eaf42e017009a222140cc3f506f9 /repo/linux
parent04a45e7d3a06fbf19d528a0617434530d5754937 (diff)
installed modules into linux
Diffstat (limited to 'repo/linux')
-rw-r--r--repo/linux/linux.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/linux/linux.xibuild b/repo/linux/linux.xibuild
index 2121288..8c3ba6f 100644
--- a/repo/linux/linux.xibuild
+++ b/repo/linux/linux.xibuild
@@ -19,7 +19,7 @@ build () {
package () {
local kernver="$(<version)"
- local modulesdir="$PKG_DEST/usr/lib/modules/$kernver"
+ local modulesdir="$PKG_DEST/usr/lib/modules/$PKG_VER"
echo "Installing boot image..."
mkdir -pv $PKG_DEST/boot
@@ -41,5 +41,9 @@ install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
# End /etc/modprobe.d/usb.conf
EOF
+
+ echo "Installing modules..."
+ make INSTALL_MOD_PATH="$PKG_DEST/usr" INSTALL_MOD_STRIP=1 modules_install
+ rm "$modulesdir"/{source,build}
}