summaryrefslogtreecommitdiffstats
path: root/libalpm/hooks/90-mkinitcpio-install.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libalpm/hooks/90-mkinitcpio-install.hook')
-rw-r--r--libalpm/hooks/90-mkinitcpio-install.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libalpm/hooks/90-mkinitcpio-install.hook b/libalpm/hooks/90-mkinitcpio-install.hook
new file mode 100644
index 0000000..48e6a1e
--- /dev/null
+++ b/libalpm/hooks/90-mkinitcpio-install.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/*/vmlinuz
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating linux initcpios...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/mkinitcpio-install
+NeedsTargets