summarylogtreecommitdiffstats
path: root/systemd-binfmt.hook
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-binfmt.hook')
-rw-r--r--systemd-binfmt.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd-binfmt.hook b/systemd-binfmt.hook
new file mode 100644
index 000000000000..8e6284bbc175
--- /dev/null
+++ b/systemd-binfmt.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/binfmt.d/*.conf
+
+[Action]
+Description = Registering binary formats...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/systemd-hook binfmt
+NeedsTargets