Le jeudi 24 janvier 2013 à 19:07 +0100, Alexander Graf a écrit : > On 20.01.2013, at 00:20, Laurent Vivier wrote: > > > Signed-off-by: Laurent Vivier <laur...@vivier.eu> [...] > > index 0da2618..6235637 > > --- a/scripts/qemu-binfmt-conf.sh > > +++ b/scripts/qemu-binfmt-conf.sh > > @@ -1,69 +1,59 @@ > > #!/bin/sh > > # enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390 program execution by > > the kernel > > > > +MAGIC=$(dirname $(readlink -f "$0"))/binfmts-magic > > Wouldn't that break with $0 is in PATH?
Yes, it breaks. But the purpose of this script is not to be installed but to help Qemu developers to create runnable linux root file system. If this script is installed, the good way to do this is to use the install base prefix. Regards, Laurent -- "Just play. Have fun. Enjoy the game." - Michael Jordan