|
From: | Alexander Graf |
Subject: | Re: [Qemu-devel] [PATCH] linux-user: Move qemu-binfmt-conf.sh to Debian model |
Date: | Thu, 28 Jan 2016 20:22:53 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |