[Build-common-hackers] Bug#637282: Bug#637282: Bug#637282: cdbs: Please support linux-any target

Emilio Pozuelo Monfort pochu at debian.org
Sat Aug 13 12:45:12 UTC 2011


On 10/08/11 14:00, Jonas Smedegaard wrote:
> On 11-08-10 at 10:37am, Emilio Pozuelo Monfort wrote:
>> On 10/08/11 08:24, Nobuhiro Iwamatsu wrote:
>>> cdbs does not support linux-any target yet.
>>> I made patch to support linux-any target. Could you apply this 
>>> patch?
>>>
>>> I tested some package with this patch. Work fine.
>>
>> This patch looks wrong. It won't work on !linux-any, e.g. kFreeBSD.
>>
>> The right way would be to test it with `dpkg-architecture -i$wildcard` 
>> and check if $? == 0.
> 
> Ah.  Thanks.
> 
> Sounds like you are more into these details than me.  I suspect that 
> perhaps there are limits on which releases of Debian works with above, 
> and also that when it works it might replace parts of the existing 
> script rather than only extending.
> 
> So would you perhaps be able to provide a patch?

How about this? (untested)

Emilio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-list-packages-properly-parse-architecture-wildcards.patch
Type: text/x-diff
Size: 930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110813/572eff9b/attachment.patch>


More information about the Build-common-hackers mailing list