Received: from eggs.gnu.org ([2001:4830:134:3::10]:38757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOsEc-00065I-EU for qemu-devel@nongnu.org; Thu, 28 Jan 2016 14:28:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOsEX-0002Ac-Dg for qemu-devel@nongnu.org; Thu, 28 Jan 2016 14:28:02 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:58731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOsEX-0002AU-4I for qemu-devel@nongnu.org; Thu, 28 Jan 2016 14:27:57 -0500 References: <1453903855-4569-1-git-send-email-agraf@suse.de> <56AA6917.7080806@vivier.eu> <56AA6A8D.8070503@suse.de> From: Laurent Vivier Message-ID: <56AA6BB5.9020100@vivier.eu> Date: Thu, 28 Jan 2016 20:27:49 +0100 MIME-Version: 1.0 In-Reply-To: <56AA6A8D.8070503@suse.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] linux-user: Move qemu-binfmt-conf.sh to Debian model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , qemu-devel@nongnu.org Cc: Peter Maydell , riku.voipio@linaro.org, Michael Tokarev Le 28/01/2016 20:22, Alexander Graf a écrit : > > > 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? :) Last time I tried, Peter would prefer to separate data and scripts: https://patchwork.ozlabs.org/patch/478486/ and I'm not ready to do that (to much work for what I want). Peter, if you agree to take the file as-is, I can resend the last version. :) Laurent