Open CalcProgrammer1 opened 3 years ago
I use the format that seemed official: https://man7.org/linux/man-pages/man5/binfmt.d.5.html
My lsb_release -a
gives me "Ubuntu 20.04 focal"
That's strange the format just evolved and is not compatible? How should I do to support both?
EDIT
This seems to be the update-binfmts
format : https://manpages.debian.org/testing/binfmt-support/update-binfmts.8.en.html
Still unsure how to handle both formats.
Looks like it might be two different systems then, systemd's binfmt capability and binfmt-support. They appear to have different formats. Perhaps just install both, or maybe test to see which directory exists (/etc/binfmt.d or /usr/share/binfmts).
@CalcProgrammer1 where did that came from? and where/how can we keep that "hack" updated? that helps also to get steam running on arm64 versions of chromiumos.
I have installed both Box86 and Box64 on my Rock Pi 4B (Armbian Sid) and then used multiarch support to install i386 mesa-utils. The expectation is that glxgears would run without calling 'box86 glxgears'. Instead, I get exec format error.
I fixed it by making the following files:
/usr/share/binfmts/box86.conf:
/usr/share/binfmts/box64.conf:
Seems Debian uses a different format than what box86/64's installer puts in /etc/binfmts.d.
After rebooting, I can open i386 applications without manually invoking box86.