[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Excluding a single arch on an arch: any



>> "Wesley J. Landaker" <wjl@icecavern.net> writes:
>
>> > Is is possible to make the equivalent of an Architecture: any package except 
>> > that it excludes one or two specific architectures? 

> * Reinhard Tartler [Sun, 12 Aug 2007 21:27:50 +0200]:
>> I think the best you can do is to write a check for that specific
>> architecture in the package's preinst script, and abort the installation
>> if it is being installed on that 'blacklisted' architecture.

Adeodato Simó <dato@net.com.org.es> writes:
>
> Uuh, that doesn't sound right. The correct thing to do would be to
> ensure the package does not build on the broken architectures, and
> remove the binaries from unstable. To do the former, and since the point
> is not having to list all possible architectures in the Architecture
> field, one can do in debian/rules:
>
>     DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
>
>     configure:
> 	    test "$(DEB_HOST_ARCH)" != "ia64"

I'm sorry, you're of course right. I've misread arch: any by arch: all.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



Reply to: