diff options
Diffstat (limited to 'extra/nouveau-drm-lts/nouveau-drm.install')
-rw-r--r-- | extra/nouveau-drm-lts/nouveau-drm.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/nouveau-drm-lts/nouveau-drm.install b/extra/nouveau-drm-lts/nouveau-drm.install new file mode 100644 index 000000000..beadaa563 --- /dev/null +++ b/extra/nouveau-drm-lts/nouveau-drm.install @@ -0,0 +1,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 +} + |