summaryrefslogtreecommitdiff
path: root/nonsystemd/openrc/30-binfmt.hook
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-11-12 23:35:24 -0300
committerDavid P <megver83@parabola.nu>2019-11-12 23:35:24 -0300
commite77ff396b67564f497ee1868d5cddfc1eeeffd2e (patch)
tree1c1d7780148130ad773663503546afc5b5472ba7 /nonsystemd/openrc/30-binfmt.hook
parentc46585d255183aa1cfbfc077ae56d7a1eba12f4b (diff)
downloadabslibre-e77ff396b67564f497ee1868d5cddfc1eeeffd2e.tar.gz
abslibre-e77ff396b67564f497ee1868d5cddfc1eeeffd2e.tar.bz2
abslibre-e77ff396b67564f497ee1868d5cddfc1eeeffd2e.zip
addpkg: nonsystemd/openrc 0.42.1-1
Signed-off-by: David P <megver83@parabola.nu>
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