-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support for Linux binfmt #176
Comments
Nice one! I like the approach... However, a readme keeping this information would be really helpful... I'll extend the manual... |
I just set this up myself in Gentoo, where both OpenRC and systemd init-systems use the same format[2] for configuring new binary formats. /etc/binfmt.d/amiga_hunk.conf The config file will be picked up by [1] https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html |
It would be great to see packaged support for Linux binfmt.
Using Linux binfmt, Amiga OS binaries could be directly run from a Linux shell using their name.
I managed to quickly get this running on Ubuntu 22.04 using these files:
File
/usr/share/binfms/amiga-vamos
:(The path in the file obviously would have to be set correctly by
make install-binfmt
or whatever would be used.)Then I ran
sudo update-binfmts --import amiga-vamos
andsudo service binfmt-support force-reload
.And voilà, I could run an Amiga-OS binary by making it executable
chmod +x hello
and then running it using./hello
.The text was updated successfully, but these errors were encountered: