07.11.2016 23:09, Bastian Blank wrote: > Package: qemu-user-static > Version: 1:2.7+dfsg-3 > Severity: wishlist > > Please move the binaries out of /usr/bin to /usr/lib/qemu-user or so. > Compatibility can be provided by symlinks.
What sort of compatibility do you talk about? All the Internet, all guides refers to /usr/bin/qemu-foo-static. This is exactly why we didn't change the path so far. I tempted to change it several times. > I'm currently testing foreign architecture support for cdebootstrap > using qemu-user-static. It works quiet well by bind-mounting the static > binary into the new root. However needing to have information about the > exact binary name to use is pretty inconvinient, esp as they don't > correspond to the debian architecture names. > > Having all binaries in one directory would make this problem much > easier. Only this directory would need to be mounted in the new root > and cleaned up afterwards. Not sure if there are problems with this > approach. If we'll continue to use this path for binfmt registration, it means we can't just mount the separate directory, nor we can use /usr/bin because now it is incomplete. If we change the path, well, maybe, and probably the guides will work still. So far, it was easier to just copy /usr/bin/qemu-*-static to a chroot. It's inefficient, but works... :) Thanks, /mjt