mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 17:44:36 +08:00
18 lines
423 B
Plaintext
18 lines
423 B
Plaintext
|
rebuild_module_dependencies() {
|
||
|
EXTRAMODULES='extramodules-3.4-ARCH'
|
||
|
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
|
||
|
}
|