summaryrefslogtreecommitdiff
path: root/libre/tp_smapi
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-01 15:42:21 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-01 15:42:21 -0500
commitdb981075ece1f63a698d667cabfbbcf7bbf5d234 (patch)
tree152e751a6179b8898651711ba6f911a2aec6ea81 /libre/tp_smapi
parentecb943071c70930d377490723fbfe5b12ca37e8e (diff)
downloadabslibre-db981075ece1f63a698d667cabfbbcf7bbf5d234.tar.gz
abslibre-db981075ece1f63a698d667cabfbbcf7bbf5d234.tar.bz2
abslibre-db981075ece1f63a698d667cabfbbcf7bbf5d234.zip
rebuild module packages against linux-libre-4.14.8_gnu-1
Diffstat (limited to 'libre/tp_smapi')
-rw-r--r--libre/tp_smapi/PKGBUILD10
-rw-r--r--libre/tp_smapi/kmod.install14
2 files changed, 2 insertions, 22 deletions
diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD
index 16c0eb8b2..53c16eb28 100644
--- a/libre/tp_smapi/PKGBUILD
+++ b/libre/tp_smapi/PKGBUILD
@@ -14,8 +14,8 @@
_kernelname=
if [[ ${_kernelname} == "" ]]; then
- _basekernel=4.13
- _archrel=31
+ _basekernel=4.14
+ _archrel=45
_parabolarel=1
elif [[ ${_kernelname} == -lts ]]; then
_basekernel=4.9
@@ -46,7 +46,6 @@ if [[ ${_kernelname} != "" ]]; then
provides=("${_pkgname}")
fi
-install='kmod.install'
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/evgeni/${_pkgname}/archive/${__pkgname}/${pkgver}.tar.gz")
sha256sums=('cd28bf6ee21b2c27b88d947cb0bfcb19648c7daa5d350115403dbcad05849381')
@@ -71,9 +70,4 @@ package() {
# load module on startup
install -dm 755 "${pkgdir}/usr/lib/modules-load.d"
echo ${_pkgname} > "${pkgdir}/usr/lib/modules-load.d/${_pkgname}${_kernelname}.conf"
-
- # Set the correct extramodules directory for install
- cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
- true && install=${install}.pkg
- sed -i "s/^_EXTRAMODULES=.*/_EXTRAMODULES="${_extramodules}"/" "${startdir}/${install}"
}
diff --git a/libre/tp_smapi/kmod.install b/libre/tp_smapi/kmod.install
deleted file mode 100644
index 40caa464f..000000000
--- a/libre/tp_smapi/kmod.install
+++ /dev/null
@@ -1,14 +0,0 @@
-_EXTRAMODULES=
-
-post_install() {
- echo ">>> Updating module dependencies. Please wait ..."
- depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}