summaryrefslogtreecommitdiff
path: root/extra/nouveau-drm-lts/nouveau-drm.install
blob: 2aa581d47f9c93e627c42e17eb79dd79113e5f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  EXTRAMODULES='extramodules-2.6.32-lts'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)  
  echo "if you are running kms in early mode please rebuild your initrd"
}

post_upgrade() {
  post_install $1
  rmmod nouveau || echo 'In order to use the new nouveau module, exit Xserver and unload it manually.'
}

post_remove() {
  EXTRAMODULES='extramodules-2.6.32-lts'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)
}