summarylogtreecommitdiffstats
path: root/edk2-update.hook
diff options
context:
space:
mode:
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