i386 package building on an amd64 system

Maxim Sobolev sobomax at FreeBSD.org
Mon Sep 17 11:55:09 PDT 2007


Dmitry Morozovsky wrote:
> Hi there colleagues,
> 
> possibly stupid question: it there a way to fool jail (real, not "tinderbox" 
> one) that it's working under i386 kernel? This would be extremely useful for 
> local package building.
> 
> Quick googling does not reveal anything, or did I miss something obvious?
> 
> Thanks in advance.

Works here like a charm. The only thing is that you need to set 
UNAME_p=i386 UNAME_m=i386 and CPUTYPE=i686 variables in the chroot/jail.

-Maxim


More information about the freebsd-current mailing list