summarylogtreecommitdiffstats
path: root/systemd-boot.hook
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-boot.hook')
-rw-r--r--systemd-boot.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/systemd-boot.hook b/systemd-boot.hook
new file mode 100644
index 000000000000..4c3dbab6de17
--- /dev/null
+++ b/systemd-boot.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = Package
+Operation = Upgrade
+Target = systemd
+
+[Action]
+Description = Upgrading systemd-boot...
+When = PostTransaction
+Exec = /usr/bin/bootctl update