aboutsummarylogtreecommitdiffstats
path: root/symlink-latest-kernel.install
diff options
context:
space:
mode:
Diffstat (limited to 'symlink-latest-kernel.install')
-rw-r--r--symlink-latest-kernel.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/symlink-latest-kernel.install b/symlink-latest-kernel.install
new file mode 100644
index 000000000000..b8ed021386a6
--- /dev/null
+++ b/symlink-latest-kernel.install
@@ -0,0 +1,7 @@
+post_install() {
+ /usr/share/libalpm/scripts/symlink-latest-kernel
+}
+
+post_remove() {
+ rm -f /usr/lib/modules/latest
+}