Conversation
|
needs more explanation as to why we need this and the benefits. |
|
The This, in batocera can be applied to the following two cases:
Given that batocera has its own wine wrappers and manages its own prefixes the case (1) doesn't have much value, as all x86_64 windows games should be run through the The case (2) though is very interesting and I have actually successfully tested it myself. If we decide to add support for box64 with #15494, then the ARM systems will be able to run x86_64 executables transparently, without prefixing them with the With this addition we don't need to complicate the Now for the executable type registration part. The
The linux systems that use systemd, have a helper service Given that box64 (and possibly wine) provides these types of binfmt configuration files, we can leverage them with a custom sysv style init service that does whatever the similar systemd binfmt service does. This PR adds an implementation of such a service. |
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
Adds init service that setups
binfmt_miscmount and registers binary formats similarly tosystemd-binfmt.service.Can be used alongside
box64andwineto allow non native executables to run transparently.Augments: #15494