diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-08-11 12:29:03 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-08-11 12:29:03 -0500 |
commit | c7a7f70af6d75239e0c48a18b66f1cbee89efd69 (patch) | |
tree | cd151508c4887bcbe3cbd603c5514f408ab1aa48 | |
parent | d493f6f646b7f97a845033e920ce44be9909846f (diff) | |
download | abslibre-c7a7f70af6d75239e0c48a18b66f1cbee89efd69.tar.gz abslibre-c7a7f70af6d75239e0c48a18b66f1cbee89efd69.tar.bz2 abslibre-c7a7f70af6d75239e0c48a18b66f1cbee89efd69.zip |
rebuild module packages against linux-libre-lts-4.14.58_gnu-1
-rw-r--r-- | libre/acpi_call-lts/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/acpi_call-lts/kmod.install | 14 | ||||
-rw-r--r-- | libre/tp_smapi-lts/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/tp_smapi-lts/kmod.install | 14 |
4 files changed, 2 insertions, 42 deletions
diff --git a/libre/acpi_call-lts/PKGBUILD b/libre/acpi_call-lts/PKGBUILD index 7fcc8ab7b..922dd0543 100644 --- a/libre/acpi_call-lts/PKGBUILD +++ b/libre/acpi_call-lts/PKGBUILD @@ -7,7 +7,7 @@ # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> _basekernel=4.14 -_archrel=61 +_archrel=66 _parabolarel=1 pkgname=acpi_call-lts @@ -29,7 +29,6 @@ replaces=("${pkgname%-*}-libre-lts" "${pkgname%-*}-parabola-lts" "${pkgname}-par conflicts=("${pkgname%-*}-libre-lts" "${pkgname%-*}-parabola-lts" "${pkgname}-parabola") provides=("acpi_call") -install='kmod.install' source=("${pkgname%-*}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0') @@ -53,11 +52,6 @@ build() { package() { cd "${pkgname%-*}-$pkgver" - # 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}" - # Actually install install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d} install -m 644 ${pkgname%-*}.ko "${pkgdir}"/usr/lib/modules/${_extramodules} diff --git a/libre/acpi_call-lts/kmod.install b/libre/acpi_call-lts/kmod.install deleted file mode 100644 index 40caa464f..000000000 --- a/libre/acpi_call-lts/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 -} diff --git a/libre/tp_smapi-lts/PKGBUILD b/libre/tp_smapi-lts/PKGBUILD index 9abead389..50fa216bf 100644 --- a/libre/tp_smapi-lts/PKGBUILD +++ b/libre/tp_smapi-lts/PKGBUILD @@ -12,7 +12,7 @@ # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> _basekernel=4.14 -_archrel=32 +_archrel=37 _parabolarel=1 pkgname=tp_smapi-lts @@ -35,7 +35,6 @@ replaces=("${pkgname/-lts/}-libre-lts" "${pkgname/-lts/}-parabola-lts") conflicts=("${pkgname/-lts/}-libre-lts" "${pkgname/-lts/}-parabola-lts") provides=("${pkgname/-lts/}") -install='kmod.install' source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/${_pkgname}/${pkgver}.tar.gz") sha256sums=('cd28bf6ee21b2c27b88d947cb0bfcb19648c7daa5d350115403dbcad05849381') @@ -60,9 +59,4 @@ package() { # load module on startup install -dm 755 "${pkgdir}/usr/lib/modules-load.d" echo tp_smapi > "${pkgdir}/usr/lib/modules-load.d/${pkgname}.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-lts/kmod.install b/libre/tp_smapi-lts/kmod.install deleted file mode 100644 index 40caa464f..000000000 --- a/libre/tp_smapi-lts/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 -} |