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

Jan Steffens heftig at archlinux.org
Wed Aug 1 22:05:58 UTC 2018


    Date: Wednesday, August 1, 2018 @ 22:05:58
  Author: heftig
Revision: 330438

Unbreak 60-linux.hook's extramodules

Modified:
  linux/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-01 21:27:36 UTC (rev 330437)
+++ PKGBUILD	2018-08-01 22:05:58 UTC (rev 330438)
@@ -87,7 +87,8 @@
 
   # a place for external modules,
   # with version file for building modules and running depmod from hook
-  local extradir="$pkgdir/usr/lib/modules/extramodules$_kernelname"
+  local extramodules="extramodules$_kernelname"
+  local extradir="$pkgdir/usr/lib/modules/$extramodules"
   install -Dt "$extradir" -m644 ../version
   ln -sr "$extradir" "$modulesdir/extramodules"
 
@@ -103,7 +104,7 @@
   local subst="
     s|%PKGBASE%|$pkgbase|g
     s|%KERNVER%|$kernver|g
-    s|%EXTRAMODULES%|$extradir|g
+    s|%EXTRAMODULES%|$extramodules|g
   "
 
   # hack to allow specifying an initially nonexisting install file



More information about the arch-commits mailing list