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

Bug#327470: ping



On Sun, Apr 30, 2006 at 10:45:20PM +0100, Steve McIntyre wrote:
> 
> Hmmm. Checking, the options to dpkg don't work in sarge versions, and
> that's a problem - official debian-cd production runs are made on
> stable machines and I don't want to break those. Are there versions of
> the dpkg arch checks that will work on sarge and *also* detect FreeBSD?

There are many ways to do it, but I suggest:

KERNEL	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS || echo linux)
CPU	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU || dpkg-architecture -qDEB_HOST_ARCH)

-- 
Robert Millan



Reply to: