summarylogtreecommitdiffstats
path: root/kernel-efi-copy.hook
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-efi-copy.hook')
-rw-r--r--kernel-efi-copy.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel-efi-copy.hook b/kernel-efi-copy.hook
new file mode 100644
index 000000000000..ab783b1343c6
--- /dev/null
+++ b/kernel-efi-copy.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/*/vmlinuz
+Target = usr/lib/initcpio/*
+Target = boot/*-ucode.img
+
+[Action]
+Description = Copying linux and initramfs to EFI directory...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/kernel-efi-copy \ No newline at end of file