mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:47:15 +08:00
18 lines
400 B
Plaintext
18 lines
400 B
Plaintext
post_install() {
|
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
|
depmod $KERNEL_VERSION
|
|
mkdir -p /etc/modprobe.d
|
|
echo "blacklist nouveau" > /etc/modprobe.d/nouveau_blacklist.conf
|
|
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
|
|
}
|
|
|
|
post_remove() {
|
|
KERNEL_VERSION='2.6.35-CHAKRA-LTS'
|
|
depmod $KERNEL_VERSION
|
|
}
|