mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 05:07:01 +02:00
Manual.md: document new binfmts trigger behaviour
This commit is contained in:
parent
f368375437
commit
bb77498bc3
1 changed files with 13 additions and 2 deletions
15
Manual.md
15
Manual.md
|
@ -1804,8 +1804,19 @@ executable binary formats, know as binfmts.
|
|||
During installation/removal it uses `update-binfmts` from the `binfmt-support` package
|
||||
to register/remove entries from the arbitrary executable binary formats database.
|
||||
|
||||
To include the trigger use the `binfmts` variable, as the trigger won't do anything unless
|
||||
it is defined.
|
||||
It is automatically added to packages that contain files in `usr/share/binfmts`.
|
||||
These files should be `update-binfmts` format files and will be imported with
|
||||
`update-binfmts --import`.
|
||||
|
||||
While it is not preferred, the trigger can also be added by using the `binfmts` variable,
|
||||
which should contain lines defining binfmts to register:
|
||||
|
||||
```
|
||||
/path/to/interpreter [update-binfmts binary format specification arguments ...]
|
||||
...
|
||||
```
|
||||
|
||||
See [`update-binfmts(8)`](https://man.voidlinux.org/man8/update-binfmts.8) for more details.
|
||||
|
||||
<a id="triggers_dkms"></a>
|
||||
#### dkms
|
||||
|
|
Loading…
Add table
Reference in a new issue