summarylogtreecommitdiffstats
path: root/hook-fglrx
diff options
context:
space:
mode:
Diffstat (limited to 'hook-fglrx')
-rw-r--r--hook-fglrx14
1 files changed, 14 insertions, 0 deletions
diff --git a/hook-fglrx b/hook-fglrx
new file mode 100644
index 000000000000..0d6f9b2f4e93
--- /dev/null
+++ b/hook-fglrx
@@ -0,0 +1,14 @@
+# vim: set ft=sh:
+
+build ()
+{
+ /usr/bin/catalyst_build_module "$KERNELVERSION"
+ /usr/bin/catalyst_build_module remove
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook rebuilds fglrx module. It does nothing to the initrd image.
+HELPEOF
+}