diff --git a/PKGBUILD b/PKGBUILD index d18b9f3..d5e1ea7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -82,7 +82,7 @@ _package() { msg2 "Installing modules..." local modulesdir="$pkgdir/usr/lib/modules/$kernver" mkdir -p "$modulesdir" - make INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/doesnt/exist modules_install + make INSTALL_MOD_PATH="$pkgdir/usr" modules_install # a place for external modules, # with version file for building modules and running depmod from hook @@ -94,11 +94,7 @@ _package() { # remove build and source links rm "$modulesdir"/{source,build} - msg2 "Running depmod..." - depmod -b "$pkgdir/usr" -E Module.symvers -e "$kernver" - msg2 "Installing hooks..." - # sed expression for following substitutions local subst=" s|%PKGBASE%|$pkgbase|g