[arch-commits] Commit in linux/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Aug 17 20:48:27 UTC 2018


    Date: Friday, August 17, 2018 @ 20:48:26
  Author: heftig
Revision: 332122

Remove depmod hack

It ws only needed to avoid a second depmod during package() when we had
manual module compression.

Modified:
  linux/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-17 19:43:36 UTC (rev 332121)
+++ PKGBUILD	2018-08-17 20:48:26 UTC (rev 332122)
@@ -83,7 +83,7 @@
   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
@@ -95,11 +95,7 @@
   # 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



More information about the arch-commits mailing list