[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] scripts/qemu-binfmt-conf.sh: rewrite to make us
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] scripts/qemu-binfmt-conf.sh: rewrite to make user friendly & easier to maintain |
Date: |
Fri, 6 Jun 2014 10:56:37 +0100 |
On 6 June 2014 02:47, Mike Frysinger <address@hidden> wrote:
> The current script isn't terribly friendly -- you basically get one chance
> to run it per boot w/out manually recovering the system state.
>
> It also doesn't lend itself to being made into an init script w/out a lot
> of manual editing.
>
> Rewrite the sucker with proper functions so that people can easily run it
> and integrate into their system, and make it easier for CPU maintainers
> to add new targets.
>
> There's also a few fixes smattered about, but considering the whole file
> has been written from scratch, not sure they need splitting out.
Personally I think we should
(a) ship update-binfmts format files
(b) encourage distros to use update-binfmts to manage format
files rather than writing directly to /proc
(c) provide a simple "only handles install" script that can read
the format files, for people who really want to just blast stuff
into /proc
I think a single standalone script is pretty useless for most people.
thanks
-- PMM