On 01/28/2016 08:16 PM, Laurent Vivier wrote:
Le 27/01/2016 15:10, Alexander Graf a écrit :
The qemu-binfmt-conf.sh script has been pretty unmaintained for most of its
time. The reason is simply that few distributions actually use the file as
is.
I've a version of this script supporting debian, systemd (because it
will rule the world) and credential:
https://github.com/vivier/qemu-m68k/blob/680x0-v2.4.0/scripts/qemu-binfmt-conf.sh
I'm using this for years, on debian/ubuntu and Fedora. To use parameters
is better than env vars, IMHO.
Yes, your version looks a lot more advanced than mine. The only thing
I'm missing is for a simple "give me all cpu types" so that programmatic
systemd file generation doesn't have to grep through the usage help text.
Also, no arguments should probably preserve the old behavior of just
registering it locally.
Care to push it upstream? :)
Alex