summaryrefslogtreecommitdiff
path: root/testing/nouveau-drm-lts/nouveau-drm.install
blob: beadaa563ddc95edfdcb0f7573a7819e4cbccf3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  KERNEL_VERSION='2.6.32-lts'
  depmod -v $KERNEL_VERSION  > /dev/null 2>&1
  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() {
  KERNEL_VERSION='2.6.32-lts'
  depmod -v $KERNEL_VERSION	 > /dev/null 2>&1	 
}