qemu sysprefix

Jakub Bogusz qboosh at pld-linux.org
Tue Sep 27 22:20:34 CEST 2016

On Tue, Sep 27, 2016 at 11:05:38PM +0300, Elan Ruusamäe wrote:
> anything against changing
>     --interp-prefix=%{_libdir}/qemu/lib-%%M
> to:
>     --interp-prefix=%{_prefix}/qemu-%%M

What is _prefix in qemu?
If /usr, then /usr/qemu-* is not FHS compliant.

> reason:
> qemu-user(-static) would expect target system libraries from there.
> qemu-user(-static) does not require qemu-common, in which current 
> %{_libdir}/qemu is contained in.

Is %{_libdir}/qemu dir ownership the only reason?
If so, you can even add it to every qemu-user* package.

Jakub Bogusz    http://qboosh.pl/

More information about the pld-devel-en mailing list