i386 package building on an amd64 system

Dmitry Morozovsky marck at rinet.ru
Mon Sep 17 14:15:02 PDT 2007


On Mon, 17 Sep 2007, Maxim Sobolev wrote:

MS> > possibly stupid question: it there a way to fool jail (real, not
MS> > "tinderbox" one) that it's working under i386 kernel? This would be
MS> > extremely useful for local package building.
MS> > 
MS> > Quick googling does not reveal anything, or did I miss something obvious?
MS> > 
MS> > Thanks in advance.
MS> 
MS> Works here like a charm. The only thing is that you need to set UNAME_p=i386
MS> UNAME_m=i386 and CPUTYPE=i686 variables in the chroot/jail.

I know aboot uname tricks ;-)

What about sysctls revealing amd64 system internals? Did you compare packages 
built by this jailed system with native?

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:				     marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-current mailing list