From owner-freebsd-current@FreeBSD.ORG Mon Sep 17 21:15:02 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4392316A41A for ; Mon, 17 Sep 2007 21:15:02 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id D4B4C13C467 for ; Mon, 17 Sep 2007 21:15:01 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l8HLF04L097281; Tue, 18 Sep 2007 01:15:00 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 18 Sep 2007 01:15:00 +0400 (MSD) From: Dmitry Morozovsky To: Maxim Sobolev In-Reply-To: <46EEC481.5010503@FreeBSD.org> Message-ID: <20070918011258.L96165@woozle.rinet.ru> References: <20070914124630.D14000@woozle.rinet.ru> <46EEC481.5010503@FreeBSD.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Tue, 18 Sep 2007 01:15:00 +0400 (MSD) Cc: current@FreeBSD.org Subject: Re: i386 package building on an amd64 system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 21:15:02 -0000 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 *** ------------------------------------------------------------------------