summarylogtreecommitdiffstats
path: root/95-unifed-arch-kernel-install.hook
diff options
context:
space:
mode:
authorSergey Shatunov2020-01-31 21:04:08 +0800
committerSergey Shatunov2020-01-31 21:07:53 +0800
commit41f1745de0adf704cf51801ecd9e9e4ef5ef451b (patch)
tree8c39339606cd2bfd7a7cf2bc96c955e2c422ede7 /95-unifed-arch-kernel-install.hook
downloadaur-41f1745de0adf704cf51801ecd9e9e4ef5ef451b.tar.gz
Initial commit
Diffstat (limited to '95-unifed-arch-kernel-install.hook')
-rw-r--r--95-unifed-arch-kernel-install.hook31
1 files changed, 31 insertions, 0 deletions
diff --git a/95-unifed-arch-kernel-install.hook b/95-unifed-arch-kernel-install.hook
new file mode 100644
index 000000000000..f3bf7ee0b81c
--- /dev/null
+++ b/95-unifed-arch-kernel-install.hook
@@ -0,0 +1,31 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/*/vmlinuz
+Target = usr/lib/initcpio/*
+Target = usr/lib/systemd/boot/efi/linuxx64.efi.stub
+Target = usr/lib/os-release
+Target = boot/*-ucode.img
+Target = usr/bin/uak
+Target = usr/share/libalpm/scripts/uak-script
+Target = usr/lib/uak/install.d/*.install
+
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/lib/initcpio/*
+Target = boot/*-ucode.img
+
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Target = unifed-arch-kernel
+
+[Action]
+Description = Creating unifed ArchLinux EFI image...
+Depends = unifed-arch-kernel
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/uak-script install
+NeedsTargets