summarylogtreecommitdiffstats
path: root/edk2-update.hook
diff options
context:
space:
mode:
authorBrli2024-04-14 12:27:55 +0800
committerBrli2024-04-14 12:27:55 +0800
commitc6f80711500a148e30f733195bb85f4691e499b3 (patch)
treef1430d58e6dc8ee1f5edc8f7c7db0b89101e7d07 /edk2-update.hook
parente75a80512ad301c066275e5bb3d297ef98dd621d (diff)
downloadaur-c6f80711500a148e30f733195bb85f4691e499b3.tar.gz
update to 1.2.0
- add edk2 hook - add uki efi image hook
Diffstat (limited to 'edk2-update.hook')
-rw-r--r--edk2-update.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/edk2-update.hook b/edk2-update.hook
new file mode 100644
index 000000000000..09a2a425fbd4
--- /dev/null
+++ b/edk2-update.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = edk2-shell
+
+[Action]
+Description = Update EDK2 EFI Shell Binary
+When = PostTransaction
+Exec = /usr/bin/cp -uv /usr/share/edk2-shell/x64/Shell_Full.efi /boot/shellx64.efi
+Depends = coreutils