summaryrefslogtreecommitdiff
path: root/pcr/xen/xen-amd-ucode.hook
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xen/xen-amd-ucode.hook')
-rw-r--r--pcr/xen/xen-amd-ucode.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/xen/xen-amd-ucode.hook b/pcr/xen/xen-amd-ucode.hook
new file mode 100644
index 000000000..8e56e98dc
--- /dev/null
+++ b/pcr/xen/xen-amd-ucode.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = boot/amd-ucode.img
+
+[Action]
+Description = Extracting AMD microcode for Xen EFI...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/xen-ucode-extract.sh
+