summaryrefslogtreecommitdiff
path: root/nonsystemd/openrc/30-binfmt.hook
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/openrc/30-binfmt.hook')
-rw-r--r--nonsystemd/openrc/30-binfmt.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/nonsystemd/openrc/30-binfmt.hook b/nonsystemd/openrc/30-binfmt.hook
new file mode 100644
index 000000000..459d38296
--- /dev/null
+++ b/nonsystemd/openrc/30-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/openrc-hook binfmt
+NeedsTargets