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

Re: dpkg --print-installation-architecture, minimal version



Previously Joel Klecker wrote:
> At 19:59 +0100 1999-01-09, Juan Cespedes wrote:
> >uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ 
> > -e s/sa110/arm/
> >
> >	(copied from linux/Makefile in the kernel sources).

So this should work on all our architectures:
	uname -m | sed \
		-e /i.86/i386/ \
		-e s/sun4u/sparc64/ \
		-e s/arm.*/arm/ \
		-e s/ppc/powerpc/

Right? Then I would only need to fiddle around some more for m68k
subarchitectures..

Can someone tell me if this will also work on the HURD?

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpBOIMb4Nto1.pgp
Description: PGP signature


Reply to: