From d2e54fc4fcb949f3a56c7db0cfe96140a7bbccf5 Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Fri, 17 Aug 2018 20:48:26 +0000 Subject: [PATCH] Remove depmod hack It ws only needed to avoid a second depmod during package() when we had manual module compression. --- PKGBUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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