summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2020-12-02 13:27:00 +0100
committerAndreas Grapentin <andreas@grapentin.org>2020-12-02 13:27:00 +0100
commite0e729b838ac162173c622716cbb8379efcf93a8 (patch)
tree3628d56dcac83e4c541dfcd36081899aff34bf57
parent121babc2671ebdb55de84f5c0e33c618063cdbca (diff)
libre/tp_sampi: updated to basekernel 5.9.9
-rw-r--r--libre/tp_smapi/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD
index a6d06d042..7159a90e7 100644
--- a/libre/tp_smapi/PKGBUILD
+++ b/libre/tp_smapi/PKGBUILD
@@ -11,11 +11,11 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=5.8.3
+_basekernel=5.9.9
pkgname=tp_smapi
pkgver=0.43
-pkgrel=224
+pkgrel=254
pkgrel+=.parabola1.basekernel${_basekernel}
pkgdesc="Modules for ThinkPad's SMAPI functionality"
pkgdesc+=" (for linux-libre)"
@@ -48,10 +48,8 @@ package() {
local extradir=/usr/lib/modules/$(</usr/src/linux-libre/version)/extramodules
cd $pkgname
- # install kernel modules
find . -name "*.ko" -exec install -Dt "$pkgdir$extradir" {} +
-
- # compress kernel modules
+ find "$pkgdir" -name "*.ko" -exec strip --strip-debug {} +
find "$pkgdir" -name "*.ko" -exec xz {} +
# load module on startup