[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user: Move qemu-binfmt-conf.sh to Debian

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] linux-user: Move qemu-binfmt-conf.sh to Debian model
Date: Wed, 27 Jan 2016 18:54:51 +0000

On 27 January 2016 at 18:45, Michael Tokarev <address@hidden> wrote:
> 27.01.2016 17:10, Alexander Graf wrote:
>> and moves that code into our script, maintaining backwards compatibility with
>> its previous calling scheme. The major benefit of this is that now Debian can
>> just do
>>   . /path/to/qemu-binfmt-conf.sh
>> and get the exact same binfmt configuration as the upstream script, hopefully
>> ensuring that in the future the upstream version becomes the maintained one.
> I don't think it will work in practice, at least before some good thinking :)
> It was a quick hack to generalize things like this, and as per above it needs
> some more work (at least to fix the OSABI issue).
> But might be it is better than nothing anyway... :)  Provided it is actually
> useful, -- do you think it is?

I was wondering if we should move to supplying the binfmt info
in files of the form used by update-binfmts(8) (which is just a set
of "key value" lines), plus a minimal script to read them. That
at least gets the data (which is what distros will want to deal with)
out of the script (which is mostly of interest to people doing
local hacking, if at all). I'm guessing that distro-specific
format registration handling will be easier to do by parsing data
files than by trying to work with a script.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]