Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Christian Seiler
On 12/16/2016 05:03 AM, Mathieu Parent (Debian) wrote: > 2016-12-16 1:24 GMT+01:00 Christian Seiler : >> On 12/15/2016 10:50 PM, Mathieu Parent (Debian) wrote: >>> I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to >>> create the appropriate symlink with update-alternatives. >>>

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Mathieu Parent (Debian)
2016-12-16 1:24 GMT+01:00 Christian Seiler : > On 12/15/2016 10:50 PM, Mathieu Parent (Debian) wrote: >> I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to >> create the appropriate symlink with update-alternatives. >> >> What is the best way to do this? > > Generate them from .i

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Christian Seiler
On 12/15/2016 10:50 PM, Mathieu Parent (Debian) wrote: > I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to > create the appropriate symlink with update-alternatives. > > What is the best way to do this? Generate them from .in files at the appropriate time, resolving the variab

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Sven Joachim
On 2016-12-15 22:13 +, Wookey wrote: > On 2016-12-15 22:50 +0100, Mathieu Parent (Debian) wrote: >> Hi, >> >> I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to >> create the appropriate symlink with update-alternatives. >> >> What is the best way to do this? > > Depend on

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Wookey
On 2016-12-15 22:50 +0100, Mathieu Parent (Debian) wrote: > Hi, > > I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to > create the appropriate symlink with update-alternatives. > > What is the best way to do this? Depend on dpkg-dev and use dpkg-architecture? dpkg-architectu

Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Mathieu Parent (Debian)
Hi, I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to create the appropriate symlink with update-alternatives. What is the best way to do this? Context: my current hack (with a wildcard): https://anonscm.debian.org/cgit/pkg-samba/cifs-utils.git/commit/?id=e5c9d43b5f1df09c7cd3