summaryrefslogtreecommitdiff
path: root/community-testing/r8168-lts/r8168-lts.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-05 12:14:43 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-05 12:14:43 -0300
commit1a2fd51887f77ba9c41195c1a2eb9ee80ea28866 (patch)
tree65f7f8ade72ab0e933e8be39880cb71992204e3b /community-testing/r8168-lts/r8168-lts.install
parent4e3e2f9e625584fee1cdb96fcec3a49f0cacdc8b (diff)
parent7f6f69dc52c8601768ba48fa7b69507a80d532cb (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/vhba-module/PKGBUILD community-testing/vhba-module/vhba-module.install core/gcc/PKGBUILD core/wpa_supplicant/PKGBUILD multilib-testing/gcc-multilib/PKGBUILD multilib-testing/lib32-glibc/PKGBUILD multilib-testing/lib32-glibc/glibc-2.15-revert-c5a0802a.patch multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/wine/PKGBUILD testing/gcc/PKGBUILD testing/glibc/PKGBUILD testing/glibc/glibc-2.15-revert-c5a0802a.patch testing/kmod/PKGBUILD testing/lvm2/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'community-testing/r8168-lts/r8168-lts.install')
-rw-r--r--community-testing/r8168-lts/r8168-lts.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community-testing/r8168-lts/r8168-lts.install b/community-testing/r8168-lts/r8168-lts.install
new file mode 100644
index 000000000..2aab9e1e3
--- /dev/null
+++ b/community-testing/r8168-lts/r8168-lts.install
@@ -0,0 +1,17 @@
+rebuild_module_dependencies() {
+ EXTRAMODULES='extramodules-3.0-lts'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+ rebuild_module_dependencies
+ echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:'
+ echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`'
+}
+post_upgrade() {
+ rebuild_module_dependencies
+}
+
+post_remove() {
+ rebuild_module_dependencies
+}