reopen 636352 severity 636352 wishlist retitle 636352 dpkg: provide a way to query the multiarch path component without dpkg-dev thanks
On Tue, 02 Aug 2011, Michal Suchanek wrote: > Also you can have libraries for *both* subarchs and there is no way to > tell on what arch you are actually running, /etc/ld.so.conf will surely > include both. Sorry I have been a bit quick to close the report. But it's more a wishlist request than a real bug. It's also unlikely to be quickly fixed at this point. It would basically require to rewrite a large part of dpkg-architecture in C. Note that if your package is "arch: any", you can embed the multiarch path in your package at build time. (This is currently not the case for initramfs-tools) You can also find a way to embed the correct path for all architectures by generating the mapping at build time: $ dpkg-architecture -L | (while read arch; do path=$(dpkg-architecture -a$arch -qDEB_HOST_MULTIARCH 2>/dev/null); echo "$arch $path"; done) Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org