commit a2ab58e8c92054616f68ea5b1b6488fdae755d32
parent aa02697b4c1ee6b9093dc9e1420ca20fee7b52c0
Author: parazyd <parazyd@dyne.org>
Date: Tue, 9 Jan 2018 12:12:30 +0100
Fixup for install-kernel-mods
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/helpers b/lib/helpers
@@ -53,14 +53,15 @@ install-kernel-mods() {
cat <<EOF > install_mods
#!/bin/sh
export PATH="${PATH}"
-sudo make \
+make \
${MAKEOPTS} \
ARCH="${1}" \
CROSS_COMPILE=${compiler} \
INSTALL_MOD_PATH=${strapdir} \
modules_install || exit 1
EOF
- chroot-script -d install_mods || zerr
+ chmod +x install_mods || zerr
+ sudo ./install_mods || zerr
}
clone-git() {