Date: Tue, 18 Sep 2007 01:15:00 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: i386 package building on an amd64 system Message-ID: <20070918011258.L96165@woozle.rinet.ru> In-Reply-To: <46EEC481.5010503@FreeBSD.org> References: <20070914124630.D14000@woozle.rinet.ru> <46EEC481.5010503@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918011258.L96165>