diff options
author | root <root@rshg054.dnsready.net> | 2011-11-12 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-12 23:14:57 +0000 |
commit | 559f8739357af66f22f2259e84b21c76b3a66205 (patch) | |
tree | 94eed0bef6460bbf30846c7e6bc2179e34fb6301 /testing/nouveau-drm-lts/nouveau-drm.install | |
parent | e0f64ccb05c467785eaf68b42c3e302c44aa3324 (diff) |
Sat Nov 12 23:14:57 UTC 2011
Diffstat (limited to 'testing/nouveau-drm-lts/nouveau-drm.install')
-rw-r--r-- | testing/nouveau-drm-lts/nouveau-drm.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/nouveau-drm-lts/nouveau-drm.install b/testing/nouveau-drm-lts/nouveau-drm.install new file mode 100644 index 000000000..2aa581d47 --- /dev/null +++ b/testing/nouveau-drm-lts/nouveau-drm.install @@ -0,0 +1,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) +} + |