[arch-commits] Commit in r8168-lts/trunk (PKGBUILD r8168-lts.install)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue Oct 2 08:20:08 UTC 2018
Date: Tuesday, October 2, 2018 @ 08:20:08
Author: mtorromeo
Revision: 388980
blacklisted r8169 (FS#59788)
Modified:
r8168-lts/trunk/PKGBUILD
Deleted:
r8168-lts/trunk/r8168-lts.install
-------------------+
PKGBUILD | 6 ++++--
r8168-lts.install | 4 ----
2 files changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-02 08:01:29 UTC (rev 388979)
+++ PKGBUILD 2018-10-02 08:20:08 UTC (rev 388980)
@@ -3,7 +3,7 @@
pkgname=r8168-lts
_pkgname=r8168
pkgver=8.046.00
-pkgrel=5
+pkgrel=6
pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
url="http://www.realtek.com.tw"
license=("GPL")
@@ -10,7 +10,6 @@
arch=('x86_64')
depends=('glibc' "linux-lts>=4.14.71" "linux-lts<4.15")
makedepends=("linux-lts-headers>=4.14.71" "linux-lts-headers<4.15")
-install=$pkgname.install
source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('b2e66b03b696ba55c9fb7c896db8ac5377233d14120520735d31c33147d0d4c3')
@@ -29,4 +28,7 @@
cd "$_pkgname-$pkgver"
install -Dm644 src/$_pkgname.ko "$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+
+ echo "blacklist r8169" | \
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/modprobe.d/r8168-lts.conf"
}
Deleted: r8168-lts.install
===================================================================
--- r8168-lts.install 2018-10-02 08:01:29 UTC (rev 388979)
+++ r8168-lts.install 2018-10-02 08:20:08 UTC (rev 388980)
@@ -1,4 +0,0 @@
-post_install() {
- echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
- echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
-}
More information about the arch-commits
mailing list